[
https://issues.apache.org/jira/browse/SANDBOX-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Bourg resolved SANDBOX-283.
------------------------------------
Resolution: Won't Fix
CSVParser.nextValue() has been dropped following SANDBOX-220 discussions.
> CSVParser.nextValue() does not handle a CSV file with a single value correctly
> ------------------------------------------------------------------------------
>
> Key: SANDBOX-283
> URL: https://issues.apache.org/jira/browse/SANDBOX-283
> Project: Commons Sandbox
> Issue Type: Bug
> Components: CSV
> Affects Versions: Nightly Builds
> Reporter: Bob Smith
> Priority: Minor
> Attachments: CSVParser_SingleValueFix.patch
>
>
> For a CSV file with a single value in it (like if your entire file is just
> "test"), CSVParser.nextValue() returns null the first time it is called
> instead of the value.
> CSVParser.getLine() and CSVParser.getAllValues() do not value this problem.
> The problem seems to be that getLine() has special handling for the "TT_EOF"
> tokens that nextValue() does not have.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira