commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Lash (JIRA)" <>
Subject [jira] [Created] (IO-343) JavaDoc is inconsistent with real codo
Date Wed, 22 Aug 2012 07:21:37 GMT
Igor Lash created IO-343:

             Summary: JavaDoc is inconsistent with real codo
                 Key: IO-343
             Project: Commons IO
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Igor Lash
            Priority: Minor

Package has a lot of inconsistent JavaDocs. 
For example this class
has JavaDocs
 List&lt;File&gt; list = ...
 NameFileComparator.NAME_COMPARATOR.sort(list); ....

 File[] array = ...

but this will not work because all static members of NameFileComparator declared as Comparator<File>
for example 
 public static final Comparator<File> NAME_REVERSE = new ReverseComparator(NAME_COMPARATOR);
public static final Comparator<File> NAME_INSENSITIVE_REVERSE = new ReverseComparator(NAME_INSENSITIVE_COMPARATOR);

and Comparator class doesn't have the sort() method.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message