Checkstyle: '+' should be on the previous line.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cdbb1cd1a6
commit
32ffe82a5f
|
@ -384,8 +384,8 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
|
||||||
final boolean containsHeader = hdrMap.containsKey(header);
|
final boolean containsHeader = hdrMap.containsKey(header);
|
||||||
final boolean emptyHeader = header.trim().isEmpty();
|
final boolean emptyHeader = header.trim().isEmpty();
|
||||||
if (containsHeader && (!emptyHeader || (emptyHeader && !this.format.getIgnoreEmptyHeaders()))) {
|
if (containsHeader && (!emptyHeader || (emptyHeader && !this.format.getIgnoreEmptyHeaders()))) {
|
||||||
throw new IllegalArgumentException("The header contains a duplicate name: \"" + header
|
throw new IllegalArgumentException("The header contains a duplicate name: \"" + header +
|
||||||
+ "\" in " + Arrays.toString(headerRecord));
|
"\" in " + Arrays.toString(headerRecord));
|
||||||
}
|
}
|
||||||
hdrMap.put(header, Integer.valueOf(i));
|
hdrMap.put(header, Integer.valueOf(i));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue