From e857ebfca1bc34dc7ae8b79b4d714a47b8d203a0 Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Mon, 26 Mar 2012 20:39:13 +0000 Subject: [PATCH] Fixed floating semi columns git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1305548 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/csv/CSVFormat.java | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index d33d4809..ac3c0a43 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -53,8 +53,7 @@ public class CSVFormat implements Serializable { /** * 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 Serializable { withDelimiter(',') .withEncapsulator('"') .withEmptyLinesIgnored(true) - .withLineSeparator(CRLF) - ; + .withLineSeparator(CRLF); /** * Comma separated format as defined by RFC 4180. @@ -86,8 +84,7 @@ public class CSVFormat implements Serializable { 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 Serializable { 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 Serializable { .withEncapsulator('"') .withSurroundingSpacesIgnored(true) .withEmptyLinesIgnored(true) - .withLineSeparator(CRLF) - ; + .withLineSeparator(CRLF); /** * Default MySQL format used by the SELECT INTO OUTFILE and @@ -129,8 +124,7 @@ public class CSVFormat implements Serializable { PRISTINE .withDelimiter('\t') .withEscape('\\') - .withLineSeparator("\n") - ; + .withLineSeparator("\n"); /**