Skip to content

Commit

Permalink
Wrong order in Comparator
Browse files Browse the repository at this point in the history
  • Loading branch information
GospelBG committed Sep 15, 2024
1 parent e1d9271 commit 8825e36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public int compare(Reward o1, Reward o2) {
});


return Integer.parseInt(o1.getEvent()) - Integer.parseInt(o2.getEvent());
return Integer.parseInt(o2.getEvent()) - Integer.parseInt(o1.getEvent());
}

}

0 comments on commit 8825e36

Please sign in to comment.