commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yamil Medina (JIRA)" <>
Subject [jira] [Created] (CSV-159) IgnoreCase for access headers name mapping
Date Wed, 14 Oct 2015 14:56:05 GMT
Yamil Medina created CSV-159:

             Summary: IgnoreCase for access headers name mapping 
                 Key: CSV-159
             Project: Commons CSV
          Issue Type: New Feature
          Components: Parser
    Affects Versions: Review
            Reporter: Yamil Medina
            Priority: Minor

I added a feature, the possibility to use "ignorecase" access in HeaderMapping.
The change is basically the use of an instance of _{{TreeMap}}_ + _{{String.CASE_INSENSITIVE_ORDER}}_
comparator, when filling _{{headerMap}}_ :

bq. {{new TreeMap<String, Integer>(String.CASE_INSENSITIVE_ORDER)}}

this based on a new flag in _{{CSVFormat}}_ class, that handles this optional format.

The feature was originally issued by this SO Question [ 1 ], plus the encouragement made in
my response to contribute or propose the change.

Here is the link to PR proposal for review:
SO question:
[ 1 ]

This message was sent by Atlassian JIRA

View raw message