commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1495912 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java
Date Mon, 24 Jun 2013 03:17:29 GMT
Author: ggregory
Date: Mon Jun 24 03:17:29 2013
New Revision: 1495912

URL: http://svn.apache.org/r1495912
Log:
Replace magic String with constant from Constants.

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java?rev=1495912&r1=1495911&r2=1495912&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java Mon Jun 24
03:17:29 2013
@@ -207,7 +207,7 @@ public class CSVParser implements Iterab
                 if (sb == null) { // first comment for this record
                     sb = new StringBuilder();
                 } else {
-                    sb.append("\n");
+                    sb.append(Constants.LF);
                 }
                 sb.append(reusableToken.content);
                 reusableToken.type = TOKEN; // Read another token



Mime
View raw message