Skip to content

Commit

Permalink
Remove call to Math.min (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: Xavier <you@example.com>
  • Loading branch information
xavier-figueroa and Xavier authored Sep 6, 2023
1 parent 72a0f0e commit 912d064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/zaxxer/sparsebits/SparseBitSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ public int previousClearBit(int i)
int w1 = w >> SHIFT1;
if (w1 > aSize)
return i;
w1 = Math.min(w1, aSize);

int w4 = i % LENGTH4;

long word;
Expand Down

0 comments on commit 912d064

Please sign in to comment.