diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-04-26 21:40:22 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-04-26 21:40:22 +0200 |
commit | 9445e42b7a79771dd69a55edacb11f30c499ae86 (patch) | |
tree | 2297d17b93f2f21e68d5975cc43a761d01a36596 | |
parent | 064691e90c4cbf1c550cb65b41b91e6fa07c7c81 (diff) | |
parent | 61d4e31349719778bce67fc9ec707cbb0a98def6 (diff) | |
download | jgit-9445e42b7a79771dd69a55edacb11f30c499ae86.tar.gz jgit-9445e42b7a79771dd69a55edacb11f30c499ae86.zip |
Merge branch 'stable-5.13' into stable-6.0
* stable-5.13:
[bazel] Skip ConfigTest#testCommitTemplatePathInHomeDirecory
Demote severity of some error prone bug patterns to warnings
Change-Id: I63b9adc22e1e1d9a9c754fe070ddfe21a52446c7
-rw-r--r-- | tools/BUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/BUILD b/tools/BUILD index 0c6b8ece7c..1826249357 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -51,7 +51,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", @@ -61,7 +61,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", @@ -95,7 +95,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", ], |