File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/java/com/google/common/truth Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ private MathUtil() {}
31
31
/* package */ static boolean equalWithinTolerance (long left , long right , long tolerance ) {
32
32
try {
33
33
// subtractExact is always desugared.
34
- @ SuppressWarnings ({ "AndroidJdkLibsChecker" , " Java7ApiChecker"} )
34
+ @ SuppressWarnings (" Java7ApiChecker" )
35
35
long absDiff = Math .abs (subtractExact (left , right ));
36
36
return 0 <= absDiff && absDiff <= Math .abs (tolerance );
37
37
} catch (ArithmeticException e ) {
@@ -47,7 +47,7 @@ private MathUtil() {}
47
47
/* package */ static boolean equalWithinTolerance (int left , int right , int tolerance ) {
48
48
try {
49
49
// subtractExact is always desugared.
50
- @ SuppressWarnings ({ "AndroidJdkLibsChecker" , " Java7ApiChecker"} )
50
+ @ SuppressWarnings (" Java7ApiChecker" )
51
51
int absDiff = Math .abs (subtractExact (left , right ));
52
52
return 0 <= absDiff && absDiff <= Math .abs (tolerance );
53
53
} catch (ArithmeticException e ) {
You can’t perform that action at this time.
0 commit comments