neilg 2003/07/03 08:11:51
Modified: java/src/org/apache/xerces/impl/xs XSComplexTypeDecl.java
java/src/org/apache/xerces/impl/xs/util
XSObjectListImpl.java
Log:
rename recently-introduced method to more appropriately reflect what it does
Revision Changes Path
1.15 +2 -2
xml-xerces/java/src/org/apache/xerces/impl/xs/XSComplexTypeDecl.java
Index: XSComplexTypeDecl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/XSComplexTypeDecl.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- XSComplexTypeDecl.java 23 Jun 2003 16:35:21 -0000 1.14
+++ XSComplexTypeDecl.java 3 Jul 2003 15:11:51 -0000 1.15
@@ -278,7 +278,7 @@
fCMValidator = null;
if(fAnnotations != null) {
// help out the garbage collector
- fAnnotations.reset();
+ fAnnotations.clear();
}
fAnnotations = null;
}
1.5 +4 -3
xml-xerces/java/src/org/apache/xerces/impl/xs/util/XSObjectListImpl.java
Index: XSObjectListImpl.java
===================================================================
RCS file:
/home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/util/XSObjectListImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XSObjectListImpl.java 23 Jun 2003 17:21:23 -0000 1.4
+++ XSObjectListImpl.java 3 Jul 2003 15:11:51 -0000 1.5
@@ -108,12 +108,13 @@
return fArray[index];
}
- // reset this object
- public void reset() {
+ // clear this object
+ public void clear() {
for (int i=0; i<fLength; i++) {
fArray[i] = null;
}
fArray = null;
+ fLength = 0;
}
} // class XSObjectList
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]