commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-531) make it more esay-to-use: org.apache.commons.io.FileUtils.listFiles(File, IOFileFilter, IOFileFilter)
Date Wed, 19 Apr 2017 21:40:41 GMT

    [ https://issues.apache.org/jira/browse/IO-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975579#comment-15975579
] 

Sebb commented on IO-531:
-------------------------

Sorry, but I'm still not clear what you want the null parameter to do.

Can you provide a test case?

Or at least a description of a simple directory structure and the results you want to get.

This will be needed to generate a unit test for any changes that might be made.

> make it more esay-to-use: org.apache.commons.io.FileUtils.listFiles(File, IOFileFilter,
IOFileFilter)
> -----------------------------------------------------------------------------------------------------
>
>                 Key: IO-531
>                 URL: https://issues.apache.org/jira/browse/IO-531
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.5
>            Reporter: Hao Liu
>
> when I only want to filter the directories, it should be better to allow me to set the
second parameter to null or I have to implement the org.apache.commons.io.filefilter.IOFileFilter
interface with nothing functionally task to do.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message