Author: mrglavas
Date: Wed Oct 7 17:42:35 2015
New Revision: 1707345
URL: http://svn.apache.org/viewvc?rev=1707345&view=rev
Log:
Added a description to the resizeBuffer() method.
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/XMLEntityScanner.java
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/XMLEntityScanner.java
URL:
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/XMLEntityScanner.java?rev=1707345&r1=1707344&r2=1707345&view=diff
==============================================================================
---
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/XMLEntityScanner.java
(original)
+++
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/XMLEntityScanner.java
Wed Oct 7 17:42:35 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]