[ http://issues.apache.org/jira/browse/IO-86?page=comments#action_12423131 ] Niall Pemberton commented on IO-86: -----------------------------------
I've deleted the FileFinder implementation and re-named FileFinderTestCase to DirectoryWalkerTestCase. I've also made the following changes to DirectoryWalker: - Change DirectoryWalker methods to use a Collection rather than List for the results - Move the handleDirectoryEnd() method within the "process" check - Change method signature for "walk" to walk(File, Collection) - that way the implementation used for results is not fixed by DirectoryWalker > Add FileFinder back into Commons IO > ----------------------------------- > > Key: IO-86 > URL: http://issues.apache.org/jira/browse/IO-86 > Project: Commons IO > Issue Type: New Feature > Affects Versions: 1.2 > Reporter: Niall Pemberton > Fix For: 1.3 > > Attachments: FileFinder.java, FileFinderTestCase.java, > io-filefinder-start-end.patch > > > I'd like to propose adding a "FileFinder" back into Commons IO. This is a > simplified version of what was recently moved out of Commons IO into the > "finder" component currently in the sandbox. > I believe this is a simpler, more generic implementation than the finder > component and therefore would be considered suitable for inclusion in Commons > IO. Although simpler it could be used as the basis for achieving the finder > component's aims - namely to emulate the unix find command. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
