Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
triceo committed Nov 12, 2024
1 parent 5466193 commit 30cc05b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public int compare(Score a, Score b) {
var bToken = i < bNumbers.length ? bNumbers[i] : 0;
int comparison;
if (aToken.getClass().equals(bToken.getClass())
&& aToken instanceof Comparable aTokenComparable
&& bToken instanceof Comparable bTokenComparable) {
&& aToken instanceof Comparable aTokenComparable
&& bToken instanceof Comparable bTokenComparable) {
comparison = aTokenComparable.compareTo(bTokenComparable);
} else {
comparison = Double.compare(aToken.doubleValue(), bToken.doubleValue());
Expand Down

0 comments on commit 30cc05b

Please sign in to comment.