You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Nitiraj Singh Rathore (JIRA)" <ji...@apache.org> on 2015/10/26 06:33:27 UTC

[jira] [Created] (CSV-160) CSVParser reading the whole reader even when it is supposed to read record by record

Nitiraj Singh Rathore created CSV-160:
-----------------------------------------

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