Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18039/src/org/htmlparser/lexer
Modified Files:
Page.java Cursor.java Lexer.java
Log Message:
Remove unused variables and other fixes exposed by turning on compiler warnings.
Index: Page.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/Page.java,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** Page.java 29 Jul 2004 01:19:22 -0000 1.40
--- Page.java 31 Jul 2004 16:42:31 -0000 1.41
***************
*** 169,174 ****
public Page (String text, String charset)
{
- InputStream stream;
-
if (null == text)
throw new IllegalArgumentException ("text cannot be null");
--- 169,172 ----
Index: Lexer.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/Lexer.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** Lexer.java 24 May 2004 16:18:16 -0000 1.30
--- Lexer.java 31 Jul 2004 16:42:31 -0000 1.31
***************
*** 371,375 ****
char ch;
char quote;
- Node ret;
done = false;
--- 371,374 ----
***************
*** 940,944 ****
Vector attributes;
int code;
- Node ret;
done = false;
--- 939,942 ----
Index: Cursor.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexer/Cursor.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Cursor.java 2 Jan 2004 19:32:04 -0000 1.17
--- Cursor.java 31 Jul 2004 16:42:31 -0000 1.18
***************
*** 125,130 ****
public String toString ()
{
- int row;
- int column;
StringBuffer ret;
--- 125,128 ----
|