Fix issue with StringLengthComparator

This commit is contained in:
Rsl1122 2017-08-30 19:28:09 +03:00
parent 0ef3110dea
commit e1c649a50d

View File

@ -12,6 +12,6 @@ public class StringLengthComparator implements Comparator<String> {
@Override
public int compare(String o1, String o2) {
return Long.compare(o1.length(), o2.length());
return -Long.compare(o1.length(), o2.length());
}
}