Remove error prone check disabling flags from default javacopts PiperOrigin-RevId: 1034280170 Change-Id: I2a924342a5e35bad5534b74eaa97fd1575e46234
diff --git a/toolchains/default_java_toolchain.bzl b/toolchains/default_java_toolchain.bzl index b047d9d..e3d38e1 100644 --- a/toolchains/default_java_toolchain.bzl +++ b/toolchains/default_java_toolchain.bzl
@@ -63,12 +63,6 @@ "--should-stop=ifError=FLOW", # See b/27049950, https://github.com/google/error-prone/issues/4595 "-g", "-parameters", - # https://github.com/bazelbuild/bazel/issues/16996 - "-Xep:IgnoredPureGetter:OFF", - "-Xep:EmptyTopLevelDeclaration:OFF", - "-Xep:LenientFormatStringValidation:OFF", - "-Xep:ReturnMissingNullable:OFF", - "-Xep:UseCorrectAssertInTests:OFF", # Please see https://github.com/bazelbuild/bazel/issues/25927#issuecomment-2825206105 # we need to make sure not to filter any warnings so that Bazel can trigger them as errors. "-Xmaxwarns -1",