commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1411918 - in /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv: CSVFormat.java Constants.java
Date Tue, 20 Nov 2012 23:11:10 GMT
Author: sebb
Date: Tue Nov 20 23:11:09 2012
New Revision: 1411918

URL: http://svn.apache.org/viewvc?rev=1411918&view=rev
Log:
Correct name of character: it's not an escape, it's a backslash

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

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1411918&r1=1411917&r2=1411918&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Tue Nov 20
23:11:09 2012
@@ -21,7 +21,7 @@ import static org.apache.commons.csv.Con
 import static org.apache.commons.csv.Constants.CR;
 import static org.apache.commons.csv.Constants.CRLF;
 import static org.apache.commons.csv.Constants.DOUBLE_QUOTE;
-import static org.apache.commons.csv.Constants.ESCAPE;
+import static org.apache.commons.csv.Constants.BACKSLASH;
 import static org.apache.commons.csv.Constants.LF;
 import static org.apache.commons.csv.Constants.TAB;
 
@@ -119,7 +119,7 @@ public class CSVFormat implements Serial
             newBuilder()
             .withDelimiter(TAB)
             .withQuoteChar(null)
-            .withEscape(ESCAPE)
+            .withEscape(BACKSLASH)
             .withIgnoreEmptyLines(false)
             .withRecordSeparator(LF)
             .build();

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java?rev=1411918&r1=1411917&r2=1411918&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java Tue Nov 20
23:11:09 2012
@@ -34,7 +34,7 @@ final class Constants {
     
     static final char CR = '\r';
     static final char DOUBLE_QUOTE = '"';
-    static final char ESCAPE = '\\';
+    static final char BACKSLASH = '\\';
     static final char FF = '\f';
     static final char LF = '\n';
     static final char SP = ' ';



Mime
View raw message