Skip to content

Commit 5bdafc6

Browse files
author
Gary Gregory
committed
Redundant specification of type arguments.
1 parent 45d05b4 commit 5bdafc6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ private Map<String, Integer> initializeHeader() throws IOException {
465465
final String[] formatHeader = this.format.getHeader();
466466
if (formatHeader != null) {
467467
hdrMap = this.format.getIgnoreHeaderCase() ?
468-
new TreeMap<String, Integer>(String.CASE_INSENSITIVE_ORDER) :
469-
new LinkedHashMap<String, Integer>();
468+
new TreeMap<>(String.CASE_INSENSITIVE_ORDER) :
469+
new LinkedHashMap<>();
470470

471471
String[] headerRecord = null;
472472
if (formatHeader.length == 0) {

0 commit comments

Comments
 (0)