commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Smith (JIRA)" <>
Subject [jira] Commented: (SANDBOX-220) CSVParser.nextValue() seems pointless
Date Thu, 12 Feb 2009 01:33:59 GMT


Bob Smith commented on SANDBOX-220:

It would be useful if the getLineNumber() method returned the current line in the output instead
of the current line in the reader (since they would be different if there is a multi-line
value).  Then you could use that method to tell which line the value is on. 

And if I'm looking at it correctly, the only special value it returns is null when it gets
to the end of the file (which would be how you know that there are no more values).

> CSVParser.nextValue() seems pointless
> -------------------------------------
>                 Key: SANDBOX-220
>                 URL:
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: CSV
>            Reporter: Henri Yandell
>             Fix For: CSV 1.0
> The nextValue method really doesn't seem very useful. There's no concept of end of line,
so your csv file could be 1xn or nx1 and you wouldn't know.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message