Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed May 23, 2024
1 parent 5f1d76d commit a4f4117
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2204,8 +2204,8 @@ private void handleShowBackends() {

backendInfos.sort(new Comparator<List<String>>() {
@Override
public long compare(List<String> o1, List<String> o2) {
return Long.parseLong(o1.get(0)) - Long.parseLong(o2.get(0));
public int compare(List<String> o1, List<String> o2) {
return Long.compare(Long.parseLong(o1.get(0)), Long.parseLong(o2.get(0)));
}
});

Expand Down

0 comments on commit a4f4117

Please sign in to comment.