Skip to content

Commit

Permalink
Spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrail committed Jul 17, 2024
1 parent 45792ed commit f152eb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rhino/src/main/java/org/mozilla/javascript/NativeArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -1355,8 +1355,7 @@ public int compare(final Object x, final Object y) {
// that sort order is implementation-defined, so we can just return the original array.
try {
Arrays.sort(working, comparator);
}
catch (IllegalArgumentException e) {
} catch (IllegalArgumentException e) {
return o;
}

Expand Down

0 comments on commit f152eb7

Please sign in to comment.