diff options
author | Andreas Gampe <agampe@google.com> | 2018-02-23 08:31:13 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-02-23 08:31:13 -0800 |
commit | 90cc80c46506c464fae5b7a92a0bfe118a1aeaa2 (patch) | |
tree | b5e441cd3ac02f494d714be50c2ed48037d9c725 /soong/error_prone.go | |
parent | 67cda1a26a8c6f5f09988bb9d4102b7b88ef136f (diff) | |
download | error_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.go | 1 |
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", |