This is an automated email from the ASF dual-hosted git repository. olli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-clam.git
commit c9adaa70173b7266dd4e0c915fd784e66381c902 Author: Oliver Lietz <[email protected]> AuthorDate: Sun Mar 27 21:48:58 2022 +0200 [spotbugs] exclude RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE --- spotbugs-exclude.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml index 38d5c44..6eb3ea0 100644 --- a/spotbugs-exclude.xml +++ b/spotbugs-exclude.xml @@ -33,4 +33,10 @@ <Class name="org.apache.sling.clam.oak.internal.NodeObservingJcrPropertyDigger$DigTask"/> <Method name="run"/> </Match> + <Match> + <!-- https://github.com/spotbugs/spotbugs/issues/868 --> + <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/> + <Class name="org.apache.sling.clam.http.internal.ResponseUtil"/> + <Method name="handleError"/> + </Match> </FindBugsFilter>
