diff --git a/api/BUILD.bazel b/api/BUILD.bazel index 6bf3375e9f0..965d14a9eb0 100644 --- a/api/BUILD.bazel +++ b/api/BUILD.bazel @@ -6,7 +6,6 @@ java_library( "src/main/java/**/*.java", "src/context/java/**/*.java", ]), - javacopts = ["-Xep:DoNotCall:OFF"], # Remove once requiring Bazel 3.4.0+; allows non-final visibility = ["//visibility:public"], deps = [ artifact("com.google.code.findbugs:jsr305"), diff --git a/core/BUILD.bazel b/core/BUILD.bazel index 35c20628d0b..6dd5199b5c0 100644 --- a/core/BUILD.bazel +++ b/core/BUILD.bazel @@ -17,7 +17,6 @@ java_library( srcs = glob([ "src/main/java/io/grpc/internal/*.java", ]), - javacopts = ["-Xep:DoNotCall:OFF"], # Remove once requiring Bazel 3.4.0+; allows non-final resources = glob([ "src/bazel-internal/resources/**", ]),