OldTruckDriver opened a new pull request, #607: URL: https://github.com/apache/commons-csv/pull/607
Fixes CSV-327. `CSVParser` used the next assigned record number to decide whether `maxRows` allowed another row. When parsing resumes with `CSVParser.Builder#setRecordNumber(...)`, this can make a parser with `maxRows` return no records before it has produced any rows. This changes the iterator to track how many records it has produced and applies `maxRows` to that count instead of the assigned record number. Tests: - `mvn -q test` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
