summaryrefslogtreecommitdiff
path: root/soong/error_prone.go
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-02-23 08:31:13 -0800
committerAndreas Gampe <agampe@google.com>2018-02-23 08:31:13 -0800
commit90cc80c46506c464fae5b7a92a0bfe118a1aeaa2 (patch)
treeb5e441cd3ac02f494d714be50c2ed48037d9c725 /soong/error_prone.go
parent67cda1a26a8c6f5f09988bb9d4102b7b88ef136f (diff)
downloaderror_prone-90cc80c46506c464fae5b7a92a0bfe118a1aeaa2.tar.gz
Errorprone: Make TruthSelfEquals fatal
Switch TruthSelfEquals to error. Bug: 73797873 Test: m javac-check RUN_ERROR_PRONE=true Change-Id: I3d8008db4f043589c6194e1809405099f1548afd
Diffstat (limited to 'soong/error_prone.go')
-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 5b5bf84..49c62fe 100644
--- a/soong/error_prone.go
+++ b/soong/error_prone.go
@@ -87,6 +87,7 @@ func init() {
"-Xep:SuppressWarningsDeprecated:ERROR",
"-Xep:ThrowIfUncheckedKnownChecked:ERROR",
"-Xep:ThrowNull:ERROR",
+ "-Xep:TruthSelfEquals:ERROR",
"-Xep:TypeParameterQualifier:ERROR",
"-Xep:UnnecessaryTypeArgument:ERROR",
"-Xep:UnusedAnonymousClass:ERROR",