Skip to content

Commit 584504e

Browse files
Bump versions.errorprone from 2.9.0 to 2.10.0 (#2466)
* Bump versions.errorprone from 2.9.0 to 2.10.0 Bumps `versions.errorprone` from 2.9.0 to 2.10.0. Updates `error_prone_core` from 2.9.0 to 2.10.0 - [Release notes](https://github.com/google/error-prone/releases) - [Commits](google/error-prone@v2.9.0...v2.10.0) Updates `error_prone_test_helpers` from 2.9.0 to 2.10.0 - [Release notes](https://github.com/google/error-prone/releases) - [Commits](google/error-prone@v2.9.0...v2.10.0) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_core dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.google.errorprone:error_prone_test_helpers dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix compilation error Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim van der Lippe <[email protected]>
1 parent 8e035a1 commit 584504e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle/dependencies.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def versions = [:]
66

77
versions.bytebuddy = '1.11.22'
88
versions.junitJupiter = '5.8.1'
9-
versions.errorprone = '2.9.0'
9+
versions.errorprone = '2.10.0'
1010

1111
libraries.junit4 = 'junit:junit:4.13.2'
1212
libraries.junitJupiterApi = "org.junit.jupiter:junit-jupiter-api:${versions.junitJupiter}"

src/main/java/org/mockito/internal/util/KotlinInlineClassUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static boolean isInlineClassWithAssignableUnderlyingType(
4040
// If we don't make this check, then we would potentially pass a mock of inline type A
4141
// into a method
4242
// that accepts inline type B.
43-
inlineClass.getDeclaredMethod("box-impl", underlyingType);
43+
Object ignored = inlineClass.getDeclaredMethod("box-impl", underlyingType);
4444
return true;
4545
} catch (NoSuchMethodException e) {
4646
return false;

0 commit comments

Comments
 (0)