[
https://issues.apache.org/jira/browse/IO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton resolved IO-123.
--------------------------------
Resolution: Won't Fix
I agree with Stephen and Jochen - so closing as WONTFIX
> LineIterator should call close on itself when hasNext() returns false.
> ----------------------------------------------------------------------
>
> Key: IO-123
> URL: https://issues.apache.org/jira/browse/IO-123
> Project: Commons IO
> Issue Type: Improvement
> Components: Utilities
> Affects Versions: 1.3.1
> Reporter: Dalibor Novak
> Priority: Minor
> Fix For: 1.4
>
>
> LineIterator should call close on itself when hasNext() returns false. This
> would enable us to write something like this:
> for (LineIterator lit = FileUtils.lineIterator(csvFile); lit.hasNext(); )
> {
> //do something
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.