| commit | 3257e83974066f089202562d28603e06b06d3831 | [log] [tgz] |
|---|---|---|
| author | Googler <hvd@google.com> | Wed Oct 08 05:30:18 2025 -0700 |
| committer | rules_java Copybara <noreply@google.com> | Wed Oct 08 05:31:00 2025 -0700 |
| tree | d9c87e2c5e9bca9a78305ed6edffddb92caab62c | |
| parent | 212b7abb395fe4ee0e80ea8511638ec690c92303 [diff] |
Re-enable `ReturnValueIgnored` error prone check The check was disabled (temporarily) to make progress at the time and never got re-enabled. Fixes https://github.com/bazelbuild/rules_java/issues/284 PiperOrigin-RevId: 816661241 Change-Id: I8aa0951a7963e5ca4e22a93a4d0723aeb62ead40
diff --git a/toolchains/default_java_toolchain.bzl b/toolchains/default_java_toolchain.bzl index 4f46393..f836f8f 100644 --- a/toolchains/default_java_toolchain.bzl +++ b/toolchains/default_java_toolchain.bzl
@@ -59,8 +59,6 @@ "--should-stop=ifError=FLOW", # See b/27049950, https://github.com/google/error-prone/issues/4595 "-g", "-parameters", - # https://github.com/bazelbuild/bazel/issues/15219 - "-Xep:ReturnValueIgnored:OFF", # https://github.com/bazelbuild/bazel/issues/16996 "-Xep:IgnoredPureGetter:OFF", "-Xep:EmptyTopLevelDeclaration:OFF",