Skip to content

Commit e857ebf

Browse files
committed
Fixed floating semi columns
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1305548 13f79535-47bb-0310-9956-ffa450edef68
1 parent 38741a4 commit e857ebf

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ public class CSVFormat implements Serializable {
5353
/**
5454
* Starting format with no settings defined; used for creating other formats from scratch.
5555
*/
56-
private static CSVFormat PRISTINE =
57-
new CSVFormat(DISABLED, DISABLED, DISABLED, DISABLED, false, false, null, null);
56+
private static CSVFormat PRISTINE = new CSVFormat(DISABLED, DISABLED, DISABLED, DISABLED, false, false, null, null);
5857

5958
/**
6059
* Standard comma separated format, as for {@link #RFC4180} but allowing blank lines.
@@ -70,8 +69,7 @@ public class CSVFormat implements Serializable {
7069
withDelimiter(',')
7170
.withEncapsulator('"')
7271
.withEmptyLinesIgnored(true)
73-
.withLineSeparator(CRLF)
74-
;
72+
.withLineSeparator(CRLF);
7573

7674
/**
7775
* Comma separated format as defined by <a href="http://tools.ietf.org/html/rfc4180">RFC 4180</a>.
@@ -86,8 +84,7 @@ public class CSVFormat implements Serializable {
8684
PRISTINE.
8785
withDelimiter(',')
8886
.withEncapsulator('"')
89-
.withLineSeparator(CRLF)
90-
;
87+
.withLineSeparator(CRLF);
9188

9289
/**
9390
* Excel file format (using a comma as the value delimiter).
@@ -104,8 +101,7 @@ public class CSVFormat implements Serializable {
104101
PRISTINE
105102
.withDelimiter(',')
106103
.withEncapsulator('"')
107-
.withLineSeparator(CRLF)
108-
;
104+
.withLineSeparator(CRLF);
109105

110106
/** Tab-delimited format, with quote; leading and trailing spaces ignored. */
111107
public static final CSVFormat TDF =
@@ -114,8 +110,7 @@ public class CSVFormat implements Serializable {
114110
.withEncapsulator('"')
115111
.withSurroundingSpacesIgnored(true)
116112
.withEmptyLinesIgnored(true)
117-
.withLineSeparator(CRLF)
118-
;
113+
.withLineSeparator(CRLF);
119114

120115
/**
121116
* Default MySQL format used by the <tt>SELECT INTO OUTFILE</tt> and
@@ -129,8 +124,7 @@ public class CSVFormat implements Serializable {
129124
PRISTINE
130125
.withDelimiter('\t')
131126
.withEscape('\\')
132-
.withLineSeparator("\n")
133-
;
127+
.withLineSeparator("\n");
134128

135129

136130
/**

0 commit comments

Comments
 (0)