diff options
author | Andreas Gampe <agampe@google.com> | 2018-06-14 14:28:39 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-06-14 14:28:39 -0700 |
commit | 2334ee7422f039373277392cf9a21d0a96288f20 (patch) | |
tree | 2c6a8065f83136cddc3a67bdd49e5c21e1bcba35 /soong/error_prone.go | |
parent | 4f6314bef10f890a843bb937ff90a63e53aaa21d (diff) | |
download | error_prone-2334ee7422f039373277392cf9a21d0a96288f20.tar.gz |
Errorprone: Move ComplexBooleanConstant to error
Update the error-list with by-default error that had been disabled
before.
Bug: 72451126
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: I4beed944c945d56fd40d484b3d39261cf5d34573
Diffstat (limited to 'soong/error_prone.go')
-rw-r--r-- | soong/error_prone.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go index ccc4851..c1506f4 100644 --- a/soong/error_prone.go +++ b/soong/error_prone.go @@ -48,6 +48,7 @@ func init() { "-Xep:ComparisonOutOfRange:ERROR", "-Xep:CompatibleWithAnnotationMisuse:ERROR", "-Xep:CompileTimeConstant:ERROR", + "-Xep:ComplexBooleanConstant:ERROR", "-Xep:DaggerProvidesNull:ERROR", "-Xep:DeadException:ERROR", "-Xep:DeadThread:ERROR", @@ -120,7 +121,6 @@ func init() { "-Xep:ArraysAsListPrimitiveArray:WARN", "-Xep:BadShiftAmount:WARN", "-Xep:ComparableType:WARN", - "-Xep:ComplexBooleanConstant:WARN", "-Xep:ConditionalExpressionNumericPromotion:WARN", "-Xep:ConstantOverflow:WARN", "-Xep:EqualsReference:WARN", |