Author: mrglavas
Date: Wed Oct 7 17:42:15 2015
New Revision: 1707344
URL: http://svn.apache.org/viewvc?rev=1707344&view=rev
Log:
Added a description to the resizeBuffer() method.
Modified:
xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityScanner.java
Modified: xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityScanner.java
URL:
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityScanner.java?rev=1707344&r1=1707343&r2=1707344&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityScanner.java
(original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/XMLEntityScanner.java Wed Oct
7 17:42:15 2015
@@ -1778,6 +1778,11 @@ public class XMLEntityScanner implements
} // load(int, boolean):boolean
+ /**
+ * This method is invoked to increase the size of the current entity's
+ * buffer if an XML name is being scanned is too large to fit within
+ * the buffer at its current size.
+ */
final void resizeBuffer(int offset, int length) {
char[] tmp = new char[fCurrentEntity.ch.length << 1];
System.arraycopy(fCurrentEntity.ch, offset,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]