Skip to content

Commit 961cce2

Browse files
committed
Format lines that are longer than 120 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458794 13f79535-47bb-0310-9956-ffa450edef68
1 parent 62a5276 commit 961cce2

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -580,25 +580,28 @@ public CSVFormat build() {
580580
*/
581581
private void validate() throws IllegalStateException {
582582
if (quoteChar != null && delimiter == quoteChar.charValue()) {
583-
throw new IllegalStateException("The quoteChar character and the delimiter cannot be the same ('" + quoteChar + "')");
583+
throw new IllegalStateException(
584+
"The quoteChar character and the delimiter cannot be the same ('" + quoteChar + "')");
584585
}
585586

586587
if (escape != null && delimiter == escape.charValue()) {
587-
throw new IllegalStateException("The escape character and the delimiter cannot be the same ('" + escape + "')");
588+
throw new IllegalStateException(
589+
"The escape character and the delimiter cannot be the same ('" + escape + "')");
588590
}
589591

590592
if (commentStart != null && delimiter == commentStart.charValue()) {
591-
throw new IllegalStateException("The comment start character and the delimiter cannot be the same ('" + commentStart +
592-
"')");
593+
throw new IllegalStateException(
594+
"The comment start character and the delimiter cannot be the same ('" + commentStart + "')");
593595
}
594596

595597
if (quoteChar != null && quoteChar.equals(commentStart)) {
596-
throw new IllegalStateException("The comment start character and the quoteChar cannot be the same ('" + commentStart +
597-
"')");
598+
throw new IllegalStateException(
599+
"The comment start character and the quoteChar cannot be the same ('" + commentStart + "')");
598600
}
599601

600602
if (escape != null && escape.equals(commentStart)) {
601-
throw new IllegalStateException("The comment start and the escape character cannot be the same ('" + commentStart + "')");
603+
throw new IllegalStateException(
604+
"The comment start and the escape character cannot be the same ('" + commentStart + "')");
602605
}
603606

604607
if (escape == null && quotePolicy == Quote.NONE) {

0 commit comments

Comments
 (0)