Redundant specification of type arguments.

This commit is contained in:
Gary Gregory 2019-02-24 10:06:08 -05:00
parent 45d05b4a50
commit 5bdafc6ce5
1 changed files with 2 additions and 2 deletions

View File

@ -465,8 +465,8 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
final String[] formatHeader = this.format.getHeader(); final String[] formatHeader = this.format.getHeader();
if (formatHeader != null) { if (formatHeader != null) {
hdrMap = this.format.getIgnoreHeaderCase() ? hdrMap = this.format.getIgnoreHeaderCase() ?
new TreeMap<String, Integer>(String.CASE_INSENSITIVE_ORDER) : new TreeMap<>(String.CASE_INSENSITIVE_ORDER) :
new LinkedHashMap<String, Integer>(); new LinkedHashMap<>();
String[] headerRecord = null; String[] headerRecord = null;
if (formatHeader.length == 0) { if (formatHeader.length == 0) {