summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2023-05-09 16:19:58 +0200
committerDavid Ostrovsky <david.ostrovsky@gmail.com>2023-05-11 09:16:11 +0000
commit0109e42493c4c78e72fde2fca2ffa1c9e7525e38 (patch)
tree2c15a4913a860ebe1eec8db074a3f6c515999e9c
parent65ce9e4c14607a76587feb5afd0dae55fdbd6bdb (diff)
Demote some error prone bug pattern to allow Bazel update
The majority of these error prone violations were already fixed in recent branches. The other option would be to cherry-pick even more fixes from the recent branches. However given that the support for 3.5 release line is going to be discontinued, we would rather not do it. Release-Notes: skip Change-Id: Ic98a4c65b13fa3e095476b8e64c1a4b29d1d8265
-rw-r--r--tools/BUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/BUILD b/tools/BUILD
index 76761171b9..8329947810 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -140,11 +140,12 @@ java_package_configuration(
"-Xep:FloatCast:ERROR",
"-Xep:FloatingPointAssertionWithinEpsilon:ERROR",
"-Xep:FloatingPointLiteralPrecision:ERROR",
- "-Xep:FloggerArgumentToString:ERROR",
+ "-Xep:FloggerArgumentToString:WARN",
"-Xep:FloggerFormatString:ERROR",
+ "-Xep:FloggerLogString:WARN",
"-Xep:FloggerLogVarargs:ERROR",
"-Xep:FloggerSplitLogStatement:ERROR",
- "-Xep:FloggerStringConcatenation:ERROR",
+ "-Xep:FloggerStringConcatenation:WARN",
"-Xep:ForOverride:ERROR",
"-Xep:FormatString:ERROR",
"-Xep:FormatStringAnnotation:ERROR",
@@ -336,7 +337,7 @@ java_package_configuration(
"-Xep:RestrictedApiChecker:ERROR",
"-Xep:RethrowReflectiveOperationExceptionAsLinkageError:ERROR",
"-Xep:ReturnFromVoid:ERROR",
- "-Xep:ReturnValueIgnored:ERROR",
+ "-Xep:ReturnValueIgnored:WARN",
"-Xep:RxReturnValueIgnored:ERROR",
# "-Xep:SameNameButDifferent:WARN",
"-Xep:SelfAssignment:ERROR",