Skip to content

Commit d73e344

Browse files
committed
Fix checkstyle: Split long line
1 parent dd0bb04 commit d73e344

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ private Headers createHeaders() throws IOException {
501501
if (!emptyHeader && !this.format.getAllowDuplicateHeaderNames()) {
502502
throw new IllegalArgumentException(
503503
String.format(
504-
"The header contains a duplicate name: \"%s\" in %s. If this is valid then use CSVFormat.withAllowDuplicateHeaderNames().",
504+
"The header contains a duplicate name: \"%s\" in %s. " +
505+
"If this is valid then use CSVFormat.withAllowDuplicateHeaderNames().",
505506
header, Arrays.toString(headerRecord)));
506507
}
507508
if (emptyHeader && !this.format.getAllowMissingColumnNames()) {

0 commit comments

Comments
 (0)