Format "for".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1fa12a6fc8
commit
fa116dd46c
|
@ -318,7 +318,7 @@ public final class CSVFormat implements Serializable {
|
|||
this.header = null;
|
||||
} else {
|
||||
Set<String> dupCheck = new HashSet<String>();
|
||||
for(String hdr : header) {
|
||||
for (String hdr : header) {
|
||||
if (!dupCheck.add(hdr)) {
|
||||
throw new IllegalArgumentException("The header contains a duplicate entry: '" + hdr + "' in "
|
||||
+ Arrays.toString(header));
|
||||
|
|
Loading…
Reference in New Issue