You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2022/03/27 20:17:05 UTC

[sling-org-apache-sling-clam] 42/44: [spotbugs] exclude VA_FORMAT_STRING_USES_NEWLINE

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 b6acb9196e726276947d51806d375025ad40766a
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sun Mar 27 21:01:34 2022 +0200

    [spotbugs] exclude VA_FORMAT_STRING_USES_NEWLINE
---
 spotbugs-exclude.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml
index 413764e..91896a4 100644
--- a/spotbugs-exclude.xml
+++ b/spotbugs-exclude.xml
@@ -23,4 +23,9 @@
     <Class name="org.apache.sling.clam.http.internal.ClamEventsServlet"/>
     <Field name="clients"/>
   </Match>
+  <Match>
+    <Bug pattern="VA_FORMAT_STRING_USES_NEWLINE"/>
+    <Class name="org.apache.sling.clam.http.internal.ClamEventsServlet$Client"/>
+    <Method name="onWritePossible"/>
+  </Match>
 </FindBugsFilter>