mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-10 04:41:26 +01:00
Fix issue with StringLengthComparator
This commit is contained in:
parent
0ef3110dea
commit
e1c649a50d
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user