summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2023-04-26 10:08:25 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2023-04-26 21:07:41 +0200
commitf3a3a2e8772222d89e4fbcf1dab43aa08935ea97 (patch)
treecdd1c3128275ebaf4df6b656742ac6eecfb2a6ba /tools
parent393074368bbc8f461bf769470409d7d4ae081613 (diff)
downloadjgit-f3a3a2e8772222d89e4fbcf1dab43aa08935ea97.tar.gz
jgit-f3a3a2e8772222d89e4fbcf1dab43aa08935ea97.zip
Demote severity of some error prone bug patterns to warnings
The code is not violation free, so demote the severity of these bug patterns to warning: o DefaultCharset o FutureReturnValueIgnored o UnusedException Change-Id: Ie886a4a247770a74953385f018498ac2515ed209
Diffstat (limited to 'tools')
-rw-r--r--tools/BUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/BUILD b/tools/BUILD
index 2b208744b5..eeac3e0722 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -34,7 +34,7 @@ java_package_configuration(
"-Xep:CannotMockFinalClass:ERROR",
"-Xep:ClassCanBeStatic:ERROR",
"-Xep:ClassNewInstance:ERROR",
- "-Xep:DefaultCharset:ERROR",
+ "-Xep:DefaultCharset:WARN",
"-Xep:DoubleCheckedLocking:ERROR",
"-Xep:ElementsCountedInLoop:ERROR",
"-Xep:EqualsHashCode:ERROR",
@@ -44,7 +44,7 @@ java_package_configuration(
"-Xep:FragmentInjection:ERROR",
"-Xep:FragmentNotInstantiable:ERROR",
"-Xep:FunctionalInterfaceClash:ERROR",
- "-Xep:FutureReturnValueIgnored:ERROR",
+ "-Xep:FutureReturnValueIgnored:WARN",
"-Xep:GetClassOnEnum:ERROR",
"-Xep:ImmutableAnnotationChecker:ERROR",
"-Xep:ImmutableEnumChecker:ERROR",
@@ -78,7 +78,7 @@ java_package_configuration(
"-Xep:TypeParameterShadowing:ERROR",
"-Xep:TypeParameterUnusedInFormals:WARN",
"-Xep:URLEqualsHashCode:ERROR",
- "-Xep:UnusedException:ERROR",
+ "-Xep:UnusedException:WARN",
"-Xep:UnsynchronizedOverridesSynchronized:ERROR",
"-Xep:WaitNotInLoop:ERROR",
],