Author: ebourg
Date: Mon Mar 26 20:39:13 2012
New Revision: 1305548
URL: http://svn.apache.org/viewvc?rev=1305548&view=rev
Log:
Fixed floating semi columns
Modified:
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.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=1305548&r1=1305547&r2=1305548&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
Mon Mar 26 20:39:13 2012
@@ -53,8 +53,7 @@ public class CSVFormat implements Serial
/**
* Starting format with no settings defined; used for creating other
formats from scratch.
*/
- private static CSVFormat PRISTINE =
- new CSVFormat(DISABLED, DISABLED, DISABLED, DISABLED, false,
false, null, null);
+ private static CSVFormat PRISTINE = new CSVFormat(DISABLED, DISABLED,
DISABLED, DISABLED, false, false, null, null);
/**
* Standard comma separated format, as for {@link #RFC4180} but allowing
blank lines.
@@ -70,8 +69,7 @@ public class CSVFormat implements Serial
withDelimiter(',')
.withEncapsulator('"')
.withEmptyLinesIgnored(true)
- .withLineSeparator(CRLF)
- ;
+ .withLineSeparator(CRLF);
/**
* 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 Serial
PRISTINE.
withDelimiter(',')
.withEncapsulator('"')
- .withLineSeparator(CRLF)
- ;
+ .withLineSeparator(CRLF);
/**
* Excel file format (using a comma as the value delimiter).
@@ -104,8 +101,7 @@ public class CSVFormat implements Serial
PRISTINE
.withDelimiter(',')
.withEncapsulator('"')
- .withLineSeparator(CRLF)
- ;
+ .withLineSeparator(CRLF);
/** Tab-delimited format, with quote; leading and trailing spaces ignored.
*/
public static final CSVFormat TDF =
@@ -114,8 +110,7 @@ public class CSVFormat implements Serial
.withEncapsulator('"')
.withSurroundingSpacesIgnored(true)
.withEmptyLinesIgnored(true)
- .withLineSeparator(CRLF)
- ;
+ .withLineSeparator(CRLF);
/**
* Default MySQL format used by the <tt>SELECT INTO OUTFILE</tt> and
@@ -129,8 +124,7 @@ public class CSVFormat implements Serial
PRISTINE
.withDelimiter('\t')
.withEscape('\\')
- .withLineSeparator("\n")
- ;
+ .withLineSeparator("\n");
/**