Skip to content

Commit 16b175b

Browse files
committed
tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1593097 13f79535-47bb-0310-9956-ffa450edef68
1 parent 7945a4f commit 16b175b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -311,15 +311,15 @@ private CSVFormat(final char delimiter, final Character quoteChar,
311311
this.recordSeparator = recordSeparator;
312312
this.nullString = nullString;
313313
if (header == null) {
314-
this.header = null;
314+
this.header = null;
315315
} else {
316-
Set<String> dupCheck = new HashSet<String>();
317-
for(String hdr : header) {
318-
if (!dupCheck.add(hdr)) {
319-
throw new IllegalArgumentException("The header contains a duplicate entry: '" + hdr + "' in " + Arrays.toString(header));
320-
}
321-
}
322-
this.header = header.clone();
316+
Set<String> dupCheck = new HashSet<String>();
317+
for(String hdr : header) {
318+
if (!dupCheck.add(hdr)) {
319+
throw new IllegalArgumentException("The header contains a duplicate entry: '" + hdr + "' in " + Arrays.toString(header));
320+
}
321+
}
322+
this.header = header.clone();
323323
}
324324
this.skipHeaderRecord = skipHeaderRecord;
325325
}

0 commit comments

Comments
 (0)