[Htmlparser-cvs] htmlparser/src/org/htmlparser/util NodeList.java,1.45,1.46
Brought to you by:
derrickoswald
From: <der...@us...> - 2003-10-19 05:45:24
|
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--; } |