mmidy 01/10/05 08:50:11
Modified: java/src/org/apache/xml/utils FastStringBuffer.java
Log:
Bugzilla 1165: Fix Null pointer Exception by checking for a null input param.
Revision Changes Path
1.14 +1 -3
xml-xalan/java/src/org/apache/xml/utils/FastStringBuffer.java
Index: FastStringBuffer.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xml/utils/FastStringBuffer.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- FastStringBuffer.java 2001/10/05 15:03:09 1.13
+++ FastStringBuffer.java 2001/10/05 15:50:11 1.14
@@ -396,9 +396,7 @@
*/
public final void append(char value)
{
-
- if (value == null)
- return;
+
char[] chunk;
// We may have preallocated chunks. If so, all but last should
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]