summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-02-19 19:16:04 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-02-19 19:16:04 +0000
commit25b9b608254aaea36161500b3f46b0ac84e3ae64 (patch)
treebe2e21eaf0edb626a081dbe15f0728c0417ca7b8
parent2bdcbdcb002074803e7b755c85a9546346cf3f60 (diff)
parent45f7fcc0f7a04ba8d59f5cf7038265fae3f76988 (diff)
downloaderror_prone-25b9b608254aaea36161500b3f46b0ac84e3ae64.tar.gz
Errorprone: Make RandomCast fatal am: 1abefcf7a0 am: 03c4b57785
am: 45f7fcc0f7 Change-Id: I9cec5e9d0bc0677982830d336a18392a1e0f37aa
-rw-r--r--soong/error_prone.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go
index 7595c39..e8e78ec 100644
--- a/soong/error_prone.go
+++ b/soong/error_prone.go
@@ -78,6 +78,7 @@ func init() {
"-Xep:PreconditionsCheckNotNullPrimitive:ERROR",
"-Xep:ProtoFieldNullComparison:ERROR",
"-Xep:ProvidesMethodOutsideOfModule:ERROR",
+ "-Xep:RandomCast:ERROR",
"-Xep:RestrictedApiChecker:ERROR",
"-Xep:SelfAssignment:ERROR",
"-Xep:StreamToString:ERROR",