Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/util
In directory sc8-pr-cvs1:/tmp/cvs-serv10542/util
Modified Files:
NodeList.java
Log Message:
Partition Attribute into a base class and PageAttribute class for the Lexer.
Fixed the AppletTag.setAppletParams in a cheesy manner.
Clear out the released NodeList entry on remove().
Dropped the HTMLTagParserTest tests, because they really weren't relevant any more.
Index: NodeList.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/util/NodeList.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** NodeList.java 5 Oct 2003 13:49:54 -0000 1.45
--- NodeList.java 18 Oct 2003 20:50:38 -0000 1.46
***************
*** 156,159 ****
--- 156,160 ----
public void remove(int index) {
System.arraycopy(nodeData, index+1, nodeData, index, size-index-1);
+ nodeData[size-1] = null;
size--;
}
|