commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-114) CSVFormat should reject a header array with duplicate entries
Date Tue, 06 May 2014 17:17:15 GMT

    [ https://issues.apache.org/jira/browse/CSV-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990840#comment-13990840
] 

Benedikt Ritter commented on CSV-114:
-------------------------------------

CSVFormat currently checks the header when validate() is called by the Parser/Printer. I agree,
that this is too late and should be done when withHeader is called.

> CSVFormat should reject a header array with duplicate entries
> -------------------------------------------------------------
>
>                 Key: CSV-114
>                 URL: https://issues.apache.org/jira/browse/CSV-114
>             Project: Commons CSV
>          Issue Type: Bug
>            Reporter: Sebb
>
> CSVFormat currently accepts whatever header String[] is provided.
> It cannot be used if there are duplicate entries so these should be rejected.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message