You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/02/24 15:06:12 UTC
[commons-csv] branch master updated: Redundant specification of
type arguments.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git
The following commit(s) were added to refs/heads/master by this push:
new 5bdafc6 Redundant specification of type arguments.
5bdafc6 is described below
commit 5bdafc6ce594f19a8c74dd8b9df8ef2e170be3b5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 24 10:06:08 2019 -0500
Redundant specification of type arguments.
---
src/main/java/org/apache/commons/csv/CSVParser.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java
index 6ec059f..ecb4c6a 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVParser.java
@@ -465,8 +465,8 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
final String[] formatHeader = this.format.getHeader();
if (formatHeader != null) {
hdrMap = this.format.getIgnoreHeaderCase() ?
- new TreeMap<String, Integer>(String.CASE_INSENSITIVE_ORDER) :
- new LinkedHashMap<String, Integer>();
+ new TreeMap<>(String.CASE_INSENSITIVE_ORDER) :
+ new LinkedHashMap<>();
String[] headerRecord = null;
if (formatHeader.length == 0) {