summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-10-31 23:19:49 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-10-31 23:19:49 +0000
commit0377ea2459721af0763799d13da7b0ded6de7f5e (patch)
treeb1dba4ad8a18b82add4558bd9f6e338ea90b9ad2
parent67f7a95dbf0185329ae0b21c71da4a85649a7eb6 (diff)
parent304f451014ca5bc0a4fccdb3e14e604bb4039fd0 (diff)
downloaderror_prone-0377ea2459721af0763799d13da7b0ded6de7f5e.tar.gz
Snap for 9239472 from 304f451014ca5bc0a4fccdb3e14e604bb4039fd0 to build-tools-release
Change-Id: I4e89b814cf57bcbf0bf0f7f01a61b1ec9762aa82
-rw-r--r--soong/error_prone.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go
index d65781a..8e93578 100644
--- a/soong/error_prone.go
+++ b/soong/error_prone.go
@@ -113,10 +113,6 @@ func init() {
// The checks that are not fatal to the build.
config.ErrorProneChecksWarning = []string{
// Errorprone default severity ERROR
- "-Xep:ArrayEquals:WARN",
- "-Xep:ArrayHashCode:WARN",
- "-Xep:ArrayToString:WARN",
- "-Xep:ArraysAsListPrimitiveArray:WARN",
"-Xep:BadAnnotationImplementation:WARN",
"-Xep:BadShiftAmount:WARN",
"-Xep:BanJNDI:WARN",
@@ -206,6 +202,8 @@ func init() {
// This check increates the `platformprotos` module's build
// time by ~15 minutes
"-Xep:SameNameButDifferent:OFF",
+ // Noisy and requires projects to add a dependency on errorprone annotations
+ "-Xep:CanIgnoreReturnValueSuggester:OFF",
}
config.ErrorProneFlags = []string{