[ 
https://issues.apache.org/jira/browse/CSV-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nitiraj Singh Rathore updated CSV-160:
--------------------------------------
    Attachment: TestCSVParser.java

> 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)

Reply via email to