diff options
author | Andreas Gampe <agampe@google.com> | 2018-03-06 20:15:23 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-03-09 20:48:58 -0800 |
commit | ce8219b911658a99cdf4f46c2bb16d65ac6d75e7 (patch) | |
tree | 48712e0b9c44110ece38bfdabf5eae5be630ec13 /soong/error_prone.go | |
parent | 96ea66cb6f6ae1d6ca1baf18493f808daad581f0 (diff) | |
download | error_prone-ce8219b911658a99cdf4f46c2bb16d65ac6d75e7.tar.gz |
Errorprone: Make CollectionIncompatibleType fatalandroid-wear-p-preview-2android-p-preview-3android-p-preview-2
Switch CollectionIncompatibleType to error.
(cherry picked from commit f6285761e74bfeeb0c6171d6e52019bd16dd0ada)
Bug: 73288226
Test: m javac-check RUN_ERROR_PRONE=true
Merged-In: Ibc3a77385f81583b9aa6d456a181de9bc8d6cc5a
Change-Id: Ibc3a77385f81583b9aa6d456a181de9bc8d6cc5a
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 47f25cb..a61e62f 100644 --- a/soong/error_prone.go +++ b/soong/error_prone.go @@ -39,6 +39,7 @@ func init() { "-Xep:BundleDeserializationCast:ERROR", "-Xep:ChainingConstructorIgnoresParameter:ERROR", "-Xep:CheckReturnValue:ERROR", + "-Xep:CollectionIncompatibleType:ERROR", "-Xep:ComparisonOutOfRange:ERROR", "-Xep:CompatibleWithAnnotationMisuse:ERROR", "-Xep:CompileTimeConstant:ERROR", |