commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cody Lerum (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CSV-127) Ignore Empty Lines doesn't ignore empty first line
Date Thu, 28 Aug 2014 03:07:58 GMT

     [ https://issues.apache.org/jira/browse/CSV-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cody Lerum updated CSV-127:
---------------------------

    Attachment: csv-127.patch

test and potential fix

> Ignore Empty Lines doesn't ignore empty first line
> --------------------------------------------------
>
>                 Key: CSV-127
>                 URL: https://issues.apache.org/jira/browse/CSV-127
>             Project: Commons CSV
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Cody Lerum
>         Attachments: csv-127.patch
>
>
> If parsing a file which has an empty first line and then a header row the empty first
line is treated as the header row.
> Parser created like
> {code}
> CSVParser csvParser = new CSVParser(reader, CSVFormat.DEFAULT.withHeader().withIgnoreSurroundingSpaces(true));
> {code}



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

Mime
View raw message