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 2022/06/10 12:56:19 UTC
[tomcat] branch 9.0.x updated: Silence new false positives
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 ff4c8d4466 Silence new false positives
ff4c8d4466 is described below
commit ff4c8d4466deeb19cbdc62895112c5e631906001
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jun 10 13:39:33 2022 +0100
Silence new false positives
---
res/spotbugs/filter-false-positives.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/res/spotbugs/filter-false-positives.xml b/res/spotbugs/filter-false-positives.xml
index 48d72181f6..3021a10956 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -404,6 +404,12 @@
</Or>
<Bug pattern="SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" />
</Match>
+ <Match>
+ <!-- Use of == rather than equals() is deliberate. -->
+ <Class name="org.apache.catalina.realm.DigestCredentialHandlerBase"/>
+ <Method name="equals"/>
+ <Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ"/>
+ </Match>
<Match>
<Class name="org.apache.catalina.realm.JDBCRealm" />
<Field name="containerLog" />
@@ -1484,6 +1490,12 @@
<Method name="URLDecode"/>
<Bug code="Dm" />
</Match>
+ <Match>
+ <!-- Not an issue. Initialisation is as intended. -->
+ <Class name="org.apache.tomcat.util.compat.JreCompat"/>
+ <Method name="<clinit>"/>
+ <Bug pattern="IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION" />
+ </Match>
<Match>
<!-- URLs used are always provided by the container so would normally be -->
<!-- file URLs. -->
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org