commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r224649 - /jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanWriter.java
Date Sun, 24 Jul 2005 20:05:33 GMT
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


Mime
View raw message