commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitiraj Singh Rathore (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CSV-160) CSVParser reading the whole reader even when it is supposed to read record by record
Date Mon, 26 Oct 2015 05:33:27 GMT
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)

Mime
View raw message