You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2007/08/15 05:39:30 UTC
[jira] Updated: (IO-123) LineIterator should call close on itself
when hasNext() returns false.
[ https://issues.apache.org/jira/browse/IO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell updated IO-123:
-----------------------------
Fix Version/s: (was: 1.3.2)
1.4
> 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.