Skip to content

Commit 805cad3

Browse files
committed
bazel: Restore DoNotCall ErrorProne check
In e08b9db we added `@DoNotCall` annotations to some call sites, but Bazel used an older version of ErrorProne that complained at times it shouldn't. The minimum version of Bazel we test/support is now Bazel 6, well past Bazel 3.4+.
1 parent aafab74 commit 805cad3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Diff for: api/BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ java_library(
66
"src/main/java/**/*.java",
77
"src/context/java/**/*.java",
88
]),
9-
javacopts = ["-Xep:DoNotCall:OFF"], # Remove once requiring Bazel 3.4.0+; allows non-final
109
visibility = ["//visibility:public"],
1110
deps = [
1211
artifact("com.google.code.findbugs:jsr305"),

Diff for: core/BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ java_library(
1717
srcs = glob([
1818
"src/main/java/io/grpc/internal/*.java",
1919
]),
20-
javacopts = ["-Xep:DoNotCall:OFF"], # Remove once requiring Bazel 3.4.0+; allows non-final
2120
resources = glob([
2221
"src/bazel-internal/resources/**",
2322
]),

0 commit comments

Comments
 (0)