[
https://issues.apache.org/jira/browse/CSV-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974147#comment-14974147
]
Sebb commented on CSV-160:
--------------------------
I agree with Gary; this is not a bug. Nor is it a feature that should be
implemented.
> CSVParser reading the whole reader even when it is supposed to read record by
> record
> ------------------------------------------------------------------------------------
>
> Key: CSV-160
> URL: https://issues.apache.org/jira/browse/CSV-160
> Project: Commons CSV
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Nitiraj Singh Rathore
> Attachments: TestCSVParser.java
>
>
> When we create an iterator from CSV parser and then use iterator.next()
> method for the first time. At this point the reader should be pointing to the
> second line and if we read the Reader from outside CSVParser then it should
> give all lines except the first one. But after first next() through iterator
> the Reader is already pointing to the end of the stream.
> Please find attached the Java main file to test this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)