File tree 2 files changed +2
-2
lines changed
src/main/java/org/mockito/internal/util
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ def versions = [:]
6
6
7
7
versions. bytebuddy = ' 1.11.22'
8
8
versions. junitJupiter = ' 5.8.1'
9
- versions. errorprone = ' 2.9 .0'
9
+ versions. errorprone = ' 2.10 .0'
10
10
11
11
libraries. junit4 = ' junit:junit:4.13.2'
12
12
libraries. junitJupiterApi = " org.junit.jupiter:junit-jupiter-api:${ versions.junitJupiter} "
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public static boolean isInlineClassWithAssignableUnderlyingType(
40
40
// If we don't make this check, then we would potentially pass a mock of inline type A
41
41
// into a method
42
42
// that accepts inline type B.
43
- inlineClass .getDeclaredMethod ("box-impl" , underlyingType );
43
+ Object ignored = inlineClass .getDeclaredMethod ("box-impl" , underlyingType );
44
44
return true ;
45
45
} catch (NoSuchMethodException e ) {
46
46
return false ;
You can’t perform that action at this time.
0 commit comments