commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IO-123) LineIterator should call close on itself when hasNext() returns false.
Date Wed, 15 Aug 2007 03:39:30 GMT

     [ 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.


Mime
View raw message