diff options
author | Andreas Gampe <agampe@google.com> | 2018-06-14 09:42:27 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-06-15 12:47:59 -0700 |
commit | 412581b5f4ee80c50561e9501c1115b2d37e92f6 (patch) | |
tree | 638a6ffddbcdce8d1516f44bc6721fd5cc9df625 /soong/error_prone.go | |
parent | 2334ee7422f039373277392cf9a21d0a96288f20 (diff) | |
download | error_prone-412581b5f4ee80c50561e9501c1115b2d37e92f6.tar.gz |
Errorprone: Make [ConstantOverflow] ERROR
Move ConstantOverflow to the fatal errors.
Bug: 110155920
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ib2b50d4b8b0194b58fe6d9776f1eb6bb5e352d46
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 c1506f4..5262bd9 100644 --- a/soong/error_prone.go +++ b/soong/error_prone.go @@ -49,6 +49,7 @@ func init() { "-Xep:CompatibleWithAnnotationMisuse:ERROR", "-Xep:CompileTimeConstant:ERROR", "-Xep:ComplexBooleanConstant:ERROR", + "-Xep:ConstantOverflow:ERROR", "-Xep:DaggerProvidesNull:ERROR", "-Xep:DeadException:ERROR", "-Xep:DeadThread:ERROR", @@ -122,7 +123,6 @@ func init() { "-Xep:BadShiftAmount:WARN", "-Xep:ComparableType:WARN", "-Xep:ConditionalExpressionNumericPromotion:WARN", - "-Xep:ConstantOverflow:WARN", "-Xep:EqualsReference:WARN", "-Xep:FormatString:WARN", "-Xep:GetClassOnAnnotation:WARN", |