[jira] [Created] (IO-283) When using the 2.0 Commons IO, there is no sort method for LastModifiedFileComparator

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IO-283) When using the 2.0 Commons IO, there is no sort method for LastModifiedFileComparator

ASF GitHub Bot (Jira)
When using the 2.0 Commons IO, there is no sort method for LastModifiedFileComparator
-------------------------------------------------------------------------------------

                 Key: IO-283
                 URL: https://issues.apache.org/jira/browse/IO-283
             Project: Commons IO
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: Sparc Solaris 2.10
            Reporter: Ulises Flynn
            Priority: Minor


Although the javadocs and source code from version 2.0 of Apache Commons makes mentions of a sort method, the actual jar does not have the sort method that is available. It seems that the LastModifiedFileComparator in the jar is not extending AbstractFileComparator like it is in the source code.

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (IO-283) When using the 2.0 Commons IO, there is no sort method for LastModifiedFileComparator

ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/IO-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton resolved IO-283.
--------------------------------

    Resolution: Invalid

I have checked Commons IO 2.0 and the sort() method is available. Note that prior to Commons 2.0 LastModifiedFileComparator did not extend AbstractFileComparator and no sort method was available. My guess is that you probably have an older version of Commons Io in your classpath

> When using the 2.0 Commons IO, there is no sort method for LastModifiedFileComparator
> -------------------------------------------------------------------------------------
>
>                 Key: IO-283
>                 URL: https://issues.apache.org/jira/browse/IO-283
>             Project: Commons IO
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Sparc Solaris 2.10
>            Reporter: Ulises Flynn
>            Priority: Minor
>
> Although the javadocs and source code from version 2.0 of Apache Commons makes mentions of a sort method, the actual jar does not have the sort method that is available. It seems that the LastModifiedFileComparator in the jar is not extending AbstractFileComparator like it is in the source code.

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