[
https://issues.apache.org/jira/browse/CSV-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238863#comment-13238863
]
Sebb commented on CSV-85:
-------------------------
{code}
a,b,c#Inline comment (1)
#Separate comment (2)
d,e,f,#Inline comment (3)
{code}
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: https://issues.apache.org/jira/browse/CSV-85
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira