You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mi...@apache.org on 2006/11/14 21:20:45 UTC

svn commit: r474947 - /xalan/java/trunk/src/org/apache/xml/serializer/dom3/DOM3TreeWalker.java

Author: minchau
Date: Tue Nov 14 12:20:44 2006
New Revision: 474947

URL: http://svn.apache.org/viewvc?view=rev&rev=474947
Log:
A minor change of fNewLine.toString() which
was wrong, to String.valueOf(fNewLine)); to 
turn the character array into a String.

Thanks to Neil Delima for pointing out this error.

Modified:
    xalan/java/trunk/src/org/apache/xml/serializer/dom3/DOM3TreeWalker.java

Modified: xalan/java/trunk/src/org/apache/xml/serializer/dom3/DOM3TreeWalker.java
URL: http://svn.apache.org/viewvc/xalan/java/trunk/src/org/apache/xml/serializer/dom3/DOM3TreeWalker.java?view=diff&rev=474947&r1=474946&r2=474947
==============================================================================
--- xalan/java/trunk/src/org/apache/xml/serializer/dom3/DOM3TreeWalker.java (original)
+++ xalan/java/trunk/src/org/apache/xml/serializer/dom3/DOM3TreeWalker.java Tue Nov 14 12:20:44 2006
@@ -2140,7 +2140,7 @@
         // Set the newLine character to use
         if (fNewLine != null) {
             fSerializer.setOutputProperty(OutputPropertiesFactory.S_KEY_LINE_SEPARATOR,
-                    fNewLine.toString());
+                    String.valueOf(fNewLine));
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org