You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2005/07/24 22:05:33 UTC

svn commit: r224649 - /jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanWriter.java

Author: rdonkin
Date: Sun Jul 24 13:04:38 2005
New Revision: 224649

URL: http://svn.apache.org/viewcvs?rev=224649&view=rev
Log:
EOL in xml now taken from platform. Contributed by John M. Issue 35723.

Modified:
    jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanWriter.java

Modified: jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanWriter.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanWriter.java?rev=224649&r1=224648&r2=224649&view=diff
==============================================================================
--- jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanWriter.java (original)
+++ jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanWriter.java Sun Jul 24 13:04:38 2005
@@ -81,7 +81,7 @@
     /** Where the output goes */
     private Writer writer;    
     /** text used for end of lines. Defaults to <code>\n</code>*/
-    private static final String EOL = "\n";
+    private static final String EOL = System.getProperty( "line.separator", "\n" );
     /** text used for end of lines. Defaults to <code>\n</code>*/
     private String endOfLine = EOL;
     /** indentation text */



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org