mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-13 19:51:25 +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
|
@Override
|
||||||
public int compare(String o1, String o2) {
|
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