commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Commented) (JIRA)" <>
Subject [jira] [Commented] (CSV-85) Allow comments to be returned in CSVRecord
Date Mon, 26 Mar 2012 21:30:27 GMT


Sebb commented on CSV-85:

a,b,c#Inline comment (1)
#Separate comment (2)
d,e,f,#Inline comment (3)

In the first case, the record would have 3 values and a comment, in the second, 0 values and
a comment, and the 3rd would have 4 values and a comment.

At present, the code treats (1) as part of the 3rd value, but it does allow case (3) - but
thinks there are 3 values.
Maybe only separate comment lines should be allowed, but that is not the case currently.
> Allow comments to be returned in CSVRecord
> ------------------------------------------
>                 Key: CSV-85
>                 URL:
>             Project: Commons CSV
>          Issue Type: Improvement
>            Reporter: Sebb
> It might be useful to provide a comment field in the CSVRecord class.
> This would be null if no comment is present for that record.
> A line consisting of only a comment would have a size() of 0.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message