aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2022-02-23 11:11:26 -0800
committerCole Faust <colefaust@google.com>2022-02-23 11:11:26 -0800
commit814bd9b551e1f4c758c6b009404e9900942b263e (patch)
treeeaf07d50838450b2f40df4804728bc0497116fc1
parent1aeb1a2da90b7ae92dc74a4f9519043cfce97fba (diff)
downloadjackson-databind-814bd9b551e1f4c758c6b009404e9900942b263e.tar.gz
Demote EqualsNull error to warning
It is used intentially to check how a custom subclass responds to null in this case. Bug: 190944875 Test: Presubmits Change-Id: If9cab7690230980a84a91e62ae30d0445ab8355f
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 64ae8cd36..729f80ae7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -41,4 +41,7 @@ java_library_host {
"jackson-annotations",
"jackson-core",
],
+ errorprone: {
+ javacflags: ["-Xep:EqualsNull:WARN"]
+ }
}