[Carrot2-cvs] carrot2/components/carrot2-shared-lib/src/com/paulodev/carrot/util/html/parser HTMLNod
Brought to you by:
dawidweiss,
stachoo
From: <daw...@us...> - 2003-10-08 12:31:04
|
Update of /cvsroot/carrot2/carrot2/components/carrot2-shared-lib/src/com/paulodev/carrot/util/html/parser In directory sc8-pr-cvs1:/tmp/cvs-serv15661/src/com/paulodev/carrot/util/html/parser Modified Files: HTMLNode.java HTMLTokenizer.java TagToken.java Log Message: A couple of unused variables removed, QueryFilterComponent refined to support input parameters. Index: HTMLNode.java =================================================================== RCS file: /cvsroot/carrot2/carrot2/components/carrot2-shared-lib/src/com/paulodev/carrot/util/html/parser/HTMLNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** HTMLNode.java 30 Sep 2003 11:35:44 -0000 1.2 --- HTMLNode.java 8 Oct 2003 12:30:53 -0000 1.3 *************** *** 188,193 **** log.debug("Assigning children to: " + getName()); - int mxIndex = -1; - if (endIndex < startIndex) { --- 188,191 ---- *************** *** 411,415 **** { StringBuffer sb; // Stores the string to be returned. - Enumeration list; // List of node's attributes or children. // Get a new StringBuffer. --- 409,412 ---- *************** *** 819,823 **** Object curr; // Current object from the list. HTMLNode prev = null; // Stores last found HTMLNode. - boolean returnPrev = true; // True when child has been found. // Return nothing if this node has no children. --- 816,819 ---- Index: HTMLTokenizer.java =================================================================== RCS file: /cvsroot/carrot2/carrot2/components/carrot2-shared-lib/src/com/paulodev/carrot/util/html/parser/HTMLTokenizer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** HTMLTokenizer.java 30 Sep 2003 11:35:44 -0000 1.2 --- HTMLTokenizer.java 8 Oct 2003 12:30:53 -0000 1.3 *************** *** 150,154 **** StringBuffer data; // Stores current token's data. int idx; // The index of the next separator. - int i; // Loop variable. // Get a buffer for the current token. --- 150,153 ---- Index: TagToken.java =================================================================== RCS file: /cvsroot/carrot2/carrot2/components/carrot2-shared-lib/src/com/paulodev/carrot/util/html/parser/TagToken.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TagToken.java 30 Sep 2003 11:35:44 -0000 1.2 --- TagToken.java 8 Oct 2003 12:30:53 -0000 1.3 *************** *** 161,165 **** { StringBuffer sb; // Stores the string to be returned. - Enumeration list; // List of node's arguments or children. // Get a new StringBuffer. --- 161,164 ---- |