diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-04-26 21:55:16 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-04-26 21:55:16 +0200 |
commit | 6082ae25dd92ec5f67fbbcfd00e1c244caf63f87 (patch) | |
tree | 08e8cf67021437f40b7d6a746ce000a89309b18d /tools | |
parent | e59ade2a6f88cbe18466924f76867e2cc167b233 (diff) | |
parent | 9445e42b7a79771dd69a55edacb11f30c499ae86 (diff) | |
download | jgit-6082ae25dd92ec5f67fbbcfd00e1c244caf63f87.tar.gz jgit-6082ae25dd92ec5f67fbbcfd00e1c244caf63f87.zip |
Merge branch 'stable-6.0' into stable-6.1
* stable-6.0:
[bazel] Skip ConfigTest#testCommitTemplatePathInHomeDirecory
Demote severity of some error prone bug patterns to warnings
UploadPack: Fix NPE when traversing a tag chain
Change-Id: I5e13d5b5414aef97e518898166bfa166c692e60f
Diffstat (limited to 'tools')
-rw-r--r-- | tools/BUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/BUILD b/tools/BUILD index a10901982f..1e671087d6 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -45,7 +45,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", @@ -55,7 +55,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", @@ -89,7 +89,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", ], |