Skip to content

Commit 90c4d9b

Browse files
deps(java): bump com.google.errorprone:error_prone_core from 2.42.0 to 2.43.0 (#15407)
* deps(java): bump com.google.errorprone:error_prone_core Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.42.0 to 2.43.0. - [Release notes](https://github.com/google/error-prone/releases) - [Commits](google/error-prone@v2.42.0...v2.43.0) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_core dependency-version: 2.43.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update lock file. Update check list in error prone plugin. Correct one dead null check. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dawid Weiss <[email protected]>
1 parent 7128f8c commit 90c4d9b

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/java/CodeProfilingPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void apply(Project project) {
203203
.getProviders()
204204
.provider(
205205
() -> {
206-
return task.getState().getFailure() == null;
206+
return task.getState().getDidWork();
207207
}));
208208
});
209209
});

build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/java/ErrorPronePlugin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ public void apply(Project project) {
265265
"AlwaysThrows:OFF", // we don't use guava
266266
"AmbiguousMethodReference:OFF",
267267
"AndroidInjectionBeforeSuper:OFF", // we don't use android
268-
"AndroidJdkLibsChecker:OFF", // TODO: new, not checked if applicable to Lucene
269268
"AnnotateFormatMethod:OFF", // we don't use this annotation
270269
"AnnotationMirrorToString:OFF", // TODO: new, not checked if applicable to Lucene
271270
"AnnotationPosition:OFF", // TODO: new, not checked if applicable to Lucene
@@ -647,6 +646,7 @@ public void apply(Project project) {
647646
"NonRuntimeAnnotation:ERROR",
648647
"NotJavadoc:WARN",
649648
"NullArgumentForNonNullParameter:OFF", // we don't use this annotation
649+
"NullNeedsCastForVarargs:ERROR",
650650
"NullOptional:WARN",
651651
"NullTernary:ERROR",
652652
"NullableConstructor:OFF", // we don't use this annotation
@@ -712,6 +712,7 @@ public void apply(Project project) {
712712
"ReachabilityFenceUsage:WARN",
713713
"RectIntersectReturnValueIgnored:OFF", // we don't use android
714714
"RedundantControlFlow:OFF", // stylistic
715+
"RedundantNullCheck:ERROR",
715716
"RedundantOverride:OFF", // TODO: new, not checked if applicable to Lucene
716717
"RedundantSetterCall:OFF", // we don't use protobuf
717718
"RedundantThrows:OFF", // TODO: new, not checked if applicable to Lucene

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ commons-compress = "1.28.0"
1111
# See ecj-lint.gradle (used for more linting).
1212
ecj = "I20250926-1800"
1313
# java linting
14-
errorprone = "2.42.0"
14+
errorprone = "2.43.0"
1515
# markdown documentation generation
1616
flexmark = "0.64.8"
1717
# @keep This is GJF version for java source code formatting

versions.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"com.google.auto.value:auto-value-annotations:1.9" : "90685606,refs=39",
3535
"com.google.auto:auto-common:1.2.2" : "90685606,refs=39",
3636
"com.google.code.findbugs:jsr305:3.0.2" : "90685606,refs=39",
37-
"com.google.errorprone:error_prone_annotation:2.42.0" : "90685606,refs=39",
38-
"com.google.errorprone:error_prone_annotations:2.42.0" : "90685606,refs=39",
39-
"com.google.errorprone:error_prone_check_api:2.42.0" : "90685606,refs=39",
40-
"com.google.errorprone:error_prone_core:2.42.0" : "90685606,refs=39",
37+
"com.google.errorprone:error_prone_annotation:2.43.0" : "90685606,refs=39",
38+
"com.google.errorprone:error_prone_annotations:2.43.0" : "90685606,refs=39",
39+
"com.google.errorprone:error_prone_check_api:2.43.0" : "90685606,refs=39",
40+
"com.google.errorprone:error_prone_core:2.43.0" : "90685606,refs=39",
4141
"com.google.googlejavaformat:google-java-format:1.27.0" : "90685606,refs=39",
4242
"com.google.guava:failureaccess:1.0.2" : "90685606,refs=39",
4343
"com.google.guava:guava:33.4.0-jre" : "90685606,refs=39",

0 commit comments

Comments
 (0)