You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/04/01 15:57:08 UTC

[jira] [Created] (IO-267) Implement Iterable versions of methods that currently provide an Iterator

Implement Iterable versions of methods that currently provide an Iterator
-------------------------------------------------------------------------

                 Key: IO-267
                 URL: https://issues.apache.org/jira/browse/IO-267
             Project: Commons IO
          Issue Type: New Feature
            Reporter: Sebb


It would be useful to be able to use methods such as FileUtils.iterateFiles() in a foreach loop.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (IO-267) Implement Iterable versions of methods that currently provide an Iterator

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton resolved IO-267.
--------------------------------

    Resolution: Won't Fix

You can use FileUtils.listFiles() - http://tinyurl.com/3bs9uya

> Implement Iterable versions of methods that currently provide an Iterator
> -------------------------------------------------------------------------
>
>                 Key: IO-267
>                 URL: https://issues.apache.org/jira/browse/IO-267
>             Project: Commons IO
>          Issue Type: New Feature
>            Reporter: Sebb
>
> It would be useful to be able to use methods such as FileUtils.iterateFiles() in a foreach loop.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (IO-267) Implement Iterable versions of methods that currently provide an Iterator

Posted by "Sebb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014622#comment-13014622 ] 

Sebb commented on IO-267:
-------------------------

Duh! Should have noticed that. 

Perhaps the Javadoc should explicitly say that the listFiles() versions are suitable for use with "foreach" loops.

> Implement Iterable versions of methods that currently provide an Iterator
> -------------------------------------------------------------------------
>
>                 Key: IO-267
>                 URL: https://issues.apache.org/jira/browse/IO-267
>             Project: Commons IO
>          Issue Type: New Feature
>            Reporter: Sebb
>
> It would be useful to be able to use methods such as FileUtils.iterateFiles() in a foreach loop.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira