Skip to content

Commit

Permalink
Remove redundant supression
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Sep 11, 2020
1 parent 10f8a36 commit 9e648a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public static int segment(long index)
* @param index an index into a big array.
* @return the associated offset (in the associated {@linkplain #segment(long) segment}).
*/
@SuppressWarnings("NumericCastThatLosesPrecision")
public static int offset(long index)
{
return (int) (index & SEGMENT_MASK);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public class AggregationTestInput
private final int offset;
private final boolean isReversed;

@SuppressWarnings("NumericCastThatLosesPrecision")
public AggregationTestInput(InternalAggregationFunction function, Page[] pages, int offset, boolean isReversed)
{
this.pages = pages;
Expand Down

0 comments on commit 9e648a8

Please sign in to comment.