You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/02/16 17:01:55 UTC
[tomcat] branch 8.5.x updated: Update false positives
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new f4908970e0 Update false positives
f4908970e0 is described below
commit f4908970e0668b08b3dd7f4ec94a5ee6a3a077cc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Feb 16 17:01:48 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 7a18f5fbdf..11d7184de4 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" />
@@ -2291,6 +2296,12 @@
<Method name="<clinit>" />
<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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org