This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new fd38689716 Update false positives
fd38689716 is described below

commit fd38689716abb90bec2ae24171d4fe6b5844769e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Feb 16 16:58:23 2023 +0000

    Update false positives
---
 res/spotbugs/filter-false-positives.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 9a8688f2d9..a8a31b8de7 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -311,6 +311,11 @@
     </Or>
     <Bug code="DE" />
   </Match>
+  <Match>
+    <!-- Unit test confirms public no-arg constructor is not required -->
+    <Class name="org.apache.catalina.ha.session.DeltaRequest$AttributeInfo" />
+    <Pattern code="SE_NO_SUITABLE_CONSTRUCTOR_FOR_EXTERNALIZATION" />
+  </Match>
   <Match>
     <!-- False positive caused by additional method syncs -->
     <Class name="org.apache.catalina.ha.session.DeltaManager" />
@@ -2376,6 +2381,12 @@
     <Method name="&lt;clinit&gt;" />
     <Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME"/>
   </Match>
+  <Match>
+    <!-- Deliberate hack for the purposes of the test -->
+    <Class name="org.apache.coyote.TestIoTimeouts$EchoListener"/>
+    <Field name="t"/>
+    <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
+  </Match>
   <Match>
     <!-- Deliberate hack for the purposes of the test -->
     <Class 
name="org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to