diff options
author | Jeff Sharkey <jsharkey@android.com> | 2020-10-05 20:44:50 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2020-10-05 20:46:45 -0600 |
commit | 7a5299fb433f947095b8a5197078998157cb2003 (patch) | |
tree | abfbc986aa3ee3bb169a61716e197ddc145d58ca | |
parent | 423927a820c7f9de4cd74ed4d314564aa9e1f6c2 (diff) | |
download | error_prone-7a5299fb433f947095b8a5197078998157cb2003.tar.gz |
Globally disable extremely noisy Error Prone.
We noticed that of the 155240 warnings found, 73835+22742 (or about
62% of them) are coming from these two warnings:
* MissingOverride
* UnnecessaryParentheses
Since these aren't actually causing harm, they're mostly just
causing the build server to collect a bunch of unactionable
noise, so I'd like to proposal globally disabling those two
warnings.
Bug: 170172949
Test: manual
Change-Id: I453b12441f3b02b3854569bd032b6194265fbf6b
-rw-r--r-- | soong/error_prone.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go index 980065a..31fd5aa 100644 --- a/soong/error_prone.go +++ b/soong/error_prone.go @@ -392,6 +392,9 @@ func init() { "-Xep:StringSplitter:OFF", // b/117877739. "-Xep:TruthAssertExpected:OFF", + // b/170172949 + "-Xep:MissingOverride:OFF", + "-Xep:UnnecessaryParentheses:OFF", } config.ErrorProneFlags = []string{ |