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
This commit is contained in:
parent
374cd7b16d
commit
5e0e7703a1
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue