Add javacopts to disable checking on third_party libraries containing a violation of go/bugpattern/EqualsIncompatibleType
In order to facilitate enabling a compile-time error check, we are suppressing these existing instances.
This change is part of an go/LSC process. See more about this change:
@@ -15,6 +15,7 @@ j2cl_mirror_from_gwt(
generate_build_test = False,
javacopts = [
"-Xep:CheckReturnValue:OFF",
+ "-Xep:EqualsIncompatibleType:OFF",
"-Xep:ReturnValueIgnored:OFF",
"-Xep:IdentityBinaryExpression:OFF",
"-Xep:SelfComparison:OFF",
@@ -54,6 +55,7 @@ java_test(
],
javacopts = [
"-Xep:IdentityBinaryExpression:OFF",
+ "-Xep:EqualsIncompatibleType:OFF",
"-Xep:SelfComparison:OFF",
"-Xep:SelfEquality:OFF",
"-Xep:SelfEquals:OFF",
