commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacopo Cappellato (JIRA)" <>
Subject [jira] Commented: (SANDBOX-220) CSVParser.nextValue() seems pointless
Date Sat, 29 Jan 2011 09:26:43 GMT


Jacopo Cappellato commented on SANDBOX-220:

I agree that the method doesn't seem very useful; as far as I understand when an end of line
is reached the method returns (as the end result of the chain ) an empty string "".
In this way it is not possible to figure out when a line begins.
I guess that it can be useful in some special cases, for example when the data in the csv
file is structured in a way (for example if the first value of each line has a given prefix)
that can be used by the calling method to figure out the new lines.
This is not probably a big deal and it can be improved in a future release.

> 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