Remove ErrorProne SelfComparison (go/errorprone/bugpattern/SelfComparison) check for tests in third_party libs since it cannot be ported upstream
Added following in java_library blaze targets with test files as source go/errorprone/faq#should-i-fix-code-in-third-party
javacopts = [
"-Xep:SelfComparison:OFF",
],
@@ -73,7 +73,8 @@ def integration_test(
deps=deps,
javacopts=[
"-source 8",
- "-target 8"
+ "-target 8",
+ "-Xep:SelfComparison:OFF", # See go/self-comparison-lsc
],
_js_deps=js_deps,
native_srcs=native_srcs,
