Skip to content

Commit 58b19b3

Browse files
committed
Fix checkstyle: remove tabs
1 parent 3718ec3 commit 58b19b3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ private void validate() throws IllegalArgumentException {
16861686
* @since 1.7
16871687
*/
16881688
public CSVFormat withAllowDuplicateHeaderNames() {
1689-
return withAllowDuplicateHeaderNames(true);
1689+
return withAllowDuplicateHeaderNames(true);
16901690
}
16911691

16921692
/**
@@ -1697,7 +1697,7 @@ public CSVFormat withAllowDuplicateHeaderNames() {
16971697
* @since 1.7
16981698
*/
16991699
public CSVFormat withAllowDuplicateHeaderNames(final boolean allowDuplicateHeaderNames) {
1700-
return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,
1700+
return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,
17011701
ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header,
17021702
skipHeaderRecord, allowMissingColumnNames, ignoreHeaderCase, trim, trailingDelimiter, autoFlush,
17031703
allowDuplicateHeaderNames);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,9 @@ private Headers createHeaders() throws IOException {
520520
}
521521
}
522522
if (headerNames == null) {
523-
headerNames = Collections.emptyList(); //immutable
523+
headerNames = Collections.emptyList(); //immutable
524524
} else {
525-
headerNames = Collections.unmodifiableList(headerNames);
525+
headerNames = Collections.unmodifiableList(headerNames);
526526
}
527527
return new Headers(hdrMap, headerNames);
528528
}

0 commit comments

Comments
 (0)