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:
Gary D. Gregory 2014-06-16 15:50:14 +00:00
parent 1fa12a6fc8
commit fa116dd46c
1 changed files with 1 additions and 1 deletions

View File

@ -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));