#19 Wrong order of directories and files

closed
6
2014-07-12
2014-04-02
Carlos SS
No

Hi Santiago!
Hi Santiago!
When I browsing with "MadCommander" I detected order of directories and files is wrong when I'm using "Name" column order. I checked and I detected it's based on simple ordering by name (without paying attention to upper or lowere case neither its type, directory or file).

I solved by using "google-collections 1.0" with a double comparator (by type and by name).

Also I fixed wrong order when ordering by "Size" column.

I've create theese files:
FileTypeComparator.java
FileNameComparator.java

And now this file isn't in use:
NameComparator.java

Ciao!

1 Attachments

Discussion

  • Carlos SS
    Carlos SS
    2014-04-02

    P.D.:
    I've made a mistake including in "pom.xml" a dependency to deprecated "google.common" library. I re-upload correct files, nothing more changes.

     
    Last edit: Carlos SS 2014-04-02
    Attachments


Anonymous


Cancel   Add attachments