SethiPandi opened a new pull request #114:
URL: https://github.com/apache/commons-csv/pull/114


   Instead of only having a boolean `true`/`false` for how duplicate header 
values are handled, this uses an enum instead.
   
   Previously the only possibilities were:
   * `true`: To allow duplicates.
   * `false`: To disallow duplicates, except empty cells which were allowed to 
be duplicates.
   
   This pull request makes an enum with three options:
   * `ALLOW_ALL`: To always allow duplicates. (Same as `true` previously.)
   * `ALLOW_EMPTY`: To allow duplicates only if they're empty cells. (Same as 
`false` previously.)
   * `DISALLOW`: To disallow all duplicates. 
   
   This provides a little more flexibility in the strictness for the parser, 
and makes what the options do clearer.
   
   Jira Issue: https://issues.apache.org/jira/browse/CSV-264


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to