From 5e0e7703a13d7022c070197fa9624dd67c2a257e Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Wed, 20 Mar 2013 10:08:17 +0000 Subject: [PATCH] Format lines that are longer than 120 characters git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458713 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/csv/CSVFormat.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 573cc400..06415c41 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -178,9 +178,11 @@ public class CSVFormat implements Serializable { * @throws IllegalArgumentException if the delimiter is a line break character */ // package protected to give access without needing a synthetic accessor - CSVFormat(final char delimiter, final Character quoteChar, final Quote quotePolicy, final Character commentStart, final Character escape, - final boolean ignoreSurroundingSpaces, final boolean ignoreEmptyLines, final String lineSeparator, final String[] header) - { + CSVFormat(final char delimiter, final Character quoteChar, + final Quote quotePolicy, final Character commentStart, + final Character escape, final boolean ignoreSurroundingSpaces, + final boolean ignoreEmptyLines, final String lineSeparator, + final String[] header) { if (isLineBreak(delimiter)) { throw new IllegalArgumentException("The delimiter cannot be a line break"); } @@ -518,9 +520,11 @@ public class CSVFormat implements Serializable { * @throws IllegalArgumentException if the delimiter is a line break character */ // package protected for use by test code - CSVFormatBuilder(final char delimiter, final Character quoteChar, final Quote quotePolicy, final Character commentStart, final Character escape, final - boolean ignoreSurroundingSpaces, final boolean ignoreEmptyLines, final String lineSeparator, - final String[] header) { + CSVFormatBuilder(final char delimiter, final Character quoteChar, + final Quote quotePolicy, final Character commentStart, + final Character escape, final boolean ignoreSurroundingSpaces, + final boolean ignoreEmptyLines, final String lineSeparator, + final String[] header) { if (isLineBreak(delimiter)) { throw new IllegalArgumentException("The delimiter cannot be a line break"); }