diff options
author | Cole Faust <colefaust@google.com> | 2022-10-17 17:28:42 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2022-10-17 17:28:42 -0700 |
commit | 304f451014ca5bc0a4fccdb3e14e604bb4039fd0 (patch) | |
tree | b1dba4ad8a18b82add4558bd9f6e338ea90b9ad2 | |
parent | 0623569b06a01cf9b5b7f6d113aaa766f18f6b85 (diff) | |
download | error_prone-304f451014ca5bc0a4fccdb3e14e604bb4039fd0.tar.gz |
Disable CanIgnoreReturnValueSuggester
Currently nothing in android aside from external/ projects
use @CanIgnoreReturnValue, and the suggester is quite noisy,
so disable it.
Fixes: 253631950
Test: Presubmit
Change-Id: I2d46c373ac9fc17108944e90543623bcddca6992
-rw-r--r-- | soong/error_prone.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go index dccf61e..8e93578 100644 --- a/soong/error_prone.go +++ b/soong/error_prone.go @@ -202,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{ |