mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-08 02:59:26 +00:00
Remove whitespace.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3ea85d4c8b
commit
b5589d0fcb
@ -135,7 +135,6 @@ public class CSVFormat implements Serializable {
|
|||||||
.withEscape('\\')
|
.withEscape('\\')
|
||||||
.withLineSeparator("\n");
|
.withLineSeparator("\n");
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a customized CSV format.
|
* Creates a customized CSV format.
|
||||||
*
|
*
|
||||||
@ -235,7 +234,6 @@ public class CSVFormat implements Serializable {
|
|||||||
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");
|
||||||
}
|
}
|
||||||
|
|
||||||
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
|
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
|
||||||
emptyLinesIgnored, lineSeparator, header);
|
emptyLinesIgnored, lineSeparator, header);
|
||||||
}
|
}
|
||||||
@ -262,7 +260,6 @@ public class CSVFormat implements Serializable {
|
|||||||
if (isLineBreak(encapsulator)) {
|
if (isLineBreak(encapsulator)) {
|
||||||
throw new IllegalArgumentException("The encapsulator cannot be a line break");
|
throw new IllegalArgumentException("The encapsulator cannot be a line break");
|
||||||
}
|
}
|
||||||
|
|
||||||
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
|
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
|
||||||
emptyLinesIgnored, lineSeparator, header);
|
emptyLinesIgnored, lineSeparator, header);
|
||||||
}
|
}
|
||||||
@ -300,7 +297,6 @@ public class CSVFormat implements Serializable {
|
|||||||
if (isLineBreak(commentStart)) {
|
if (isLineBreak(commentStart)) {
|
||||||
throw new IllegalArgumentException("The comment start character cannot be a line break");
|
throw new IllegalArgumentException("The comment start character cannot be a line break");
|
||||||
}
|
}
|
||||||
|
|
||||||
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
|
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
|
||||||
emptyLinesIgnored, lineSeparator, header);
|
emptyLinesIgnored, lineSeparator, header);
|
||||||
}
|
}
|
||||||
@ -338,7 +334,6 @@ public class CSVFormat implements Serializable {
|
|||||||
if (isLineBreak(escape)) {
|
if (isLineBreak(escape)) {
|
||||||
throw new IllegalArgumentException("The escape character cannot be a line break");
|
throw new IllegalArgumentException("The escape character cannot be a line break");
|
||||||
}
|
}
|
||||||
|
|
||||||
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
|
return new CSVFormat(delimiter, encapsulator, commentStart, escape, surroundingSpacesIgnored,
|
||||||
emptyLinesIgnored, lineSeparator, header);
|
emptyLinesIgnored, lineSeparator, header);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user