neilg 2003/01/13 07:59:09 Modified: java/src/org/apache/xml/serialize IndentPrinter.java Log: fixing bug 15768. According to the javadoc for StringBuffer and String, this is what the original code would have compiled to; this fix simply makes sure that, if compiled under JDK 1.4, Xerces will work with previous JDKs Revision Changes Path 1.8 +2 -2 xml-xerces/java/src/org/apache/xml/serialize/IndentPrinter.java Index: IndentPrinter.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xml/serialize/IndentPrinter.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- IndentPrinter.java 29 Jan 2002 01:15:20 -0000 1.7 +++ IndentPrinter.java 13 Jan 2003 15:59:09 -0000 1.8 @@ -183,7 +183,7 @@ public void printText( StringBuffer text ) { - _text.append( text ); + _text.append( text.toString() ); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]