File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 */
3030public class CSVFormat implements Serializable {
3131
32+ private static final char COMMA = ',' ;
33+
3234 private static final long serialVersionUID = 1L ;
3335
3436 /** According to RFC 4180, line breaks are delimited by CRLF */
@@ -70,7 +72,7 @@ public class CSVFormat implements Serializable {
7072 */
7173 public static final CSVFormat DEFAULT =
7274 PRISTINE .
73- withDelimiter (',' )
75+ withDelimiter (COMMA )
7476 .withEncapsulator ('"' )
7577 .withEmptyLinesIgnored (true )
7678 .withLineSeparator (CRLF );
@@ -86,7 +88,7 @@ public class CSVFormat implements Serializable {
8688 */
8789 public static final CSVFormat RFC4180 =
8890 PRISTINE .
89- withDelimiter (',' )
91+ withDelimiter (COMMA )
9092 .withEncapsulator ('"' )
9193 .withLineSeparator (CRLF );
9294
@@ -102,7 +104,7 @@ public class CSVFormat implements Serializable {
102104 */
103105 public static final CSVFormat EXCEL =
104106 PRISTINE
105- .withDelimiter (',' )
107+ .withDelimiter (COMMA )
106108 .withEncapsulator ('"' )
107109 .withLineSeparator (CRLF );
108110
You can’t perform that action at this time.
0 commit comments