Remove `-XepOpt:ReturnValueIgnored:ObjectMethods=false`
RELNOTES[INC]: Error Prone now checks for unused return values of additional methods on `java.lang.Object`, which can be disabled using `--javacopts=-Xep:ReturnValueIgnored:OFF`
@@ -51,8 +51,6 @@ DEFAULT_JAVACOPTS = [
"-XDcompilePolicy=simple",
"-g",
"-parameters",
- # https://github.com/bazelbuild/java_tools/issues/51#issuecomment-927940699
- "-XepOpt:ReturnValueIgnored:ObjectMethods=false",
]
# java_toolchain parameters without specifying javac, java.compiler,
