Better parameter name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1465753 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a0d975933d
commit
afc9de71bd
|
@ -206,7 +206,7 @@ public class CSVFormat implements Serializable {
|
||||||
CSVFormat(final char delimiter, final Character quoteChar,
|
CSVFormat(final char delimiter, final Character quoteChar,
|
||||||
final Quote quotePolicy, final Character commentStart,
|
final Quote quotePolicy, final Character commentStart,
|
||||||
final Character escape, final boolean ignoreSurroundingSpaces,
|
final Character escape, final boolean ignoreSurroundingSpaces,
|
||||||
final boolean ignoreEmptyLines, final String lineSeparator,
|
final boolean ignoreEmptyLines, final String recordSeparator,
|
||||||
final String[] header) {
|
final String[] header) {
|
||||||
if (isLineBreak(delimiter)) {
|
if (isLineBreak(delimiter)) {
|
||||||
throw new IllegalArgumentException("The delimiter cannot be a line break");
|
throw new IllegalArgumentException("The delimiter cannot be a line break");
|
||||||
|
@ -218,7 +218,7 @@ public class CSVFormat implements Serializable {
|
||||||
this.escape = escape;
|
this.escape = escape;
|
||||||
this.ignoreSurroundingSpaces = ignoreSurroundingSpaces;
|
this.ignoreSurroundingSpaces = ignoreSurroundingSpaces;
|
||||||
this.ignoreEmptyLines = ignoreEmptyLines;
|
this.ignoreEmptyLines = ignoreEmptyLines;
|
||||||
this.recordSeparator = lineSeparator;
|
this.recordSeparator = recordSeparator;
|
||||||
this.header = header == null ? null : header.clone();
|
this.header = header == null ? null : header.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue