commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r225859 - /jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/BeanWriter.java
Date Thu, 28 Jul 2005 19:46:11 GMT
Author: rdonkin
Date: Thu Jul 28 12:46:09 2005
New Revision: 225859

URL: http://svn.apache.org/viewcvs?rev=225859&view=rev
Log:
Mea cupla. Many thanks to John M for the spot. 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=225859&r1=225858&r2=225859&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
Thu Jul 28 12:46:09 2005
@@ -86,7 +86,7 @@
         // just wraps call in an exception check for access restricted environments
         String result = "\n";
         try {
-            System.getProperty( "line.separator", "\n" );
+            result = System.getProperty( "line.separator", "\n" );
         } catch (SecurityException se) {
             Log log = LogFactory.getLog( BeanWriter.class );
             log.warn("Cannot load line separator property: " + se.getMessage());



---------------------------------------------------------------------
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