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/11/30 18:25:35 UTC
[tomcat] branch 10.1.x updated: Update SpotBugs false positives after AsyncFileHandler refactoring
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new bc35df0f80 Update SpotBugs false positives after AsyncFileHandler refactoring
bc35df0f80 is described below
commit bc35df0f8014951666bac8bc9d67d5b5942cfda1
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Nov 30 18:17:25 2022 +0000
Update SpotBugs false positives after AsyncFileHandler refactoring
---
res/spotbugs/filter-false-positives.xml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/res/spotbugs/filter-false-positives.xml b/res/spotbugs/filter-false-positives.xml
index ef68d4b4bb..b2710b9dca 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -1100,9 +1100,15 @@
<Method name="scanXMLDeclOrTextDecl"/>
<Bug code="ES"/>
</Match>
+ <Match>
+ <!-- Cast is safe -->
+ <Class name="org.apache.juli.AsyncFileHandler$DropLastPolicy"/>
+ <Method name="rejectedExecution"/>
+ <Bug pattern="BC_UNCONFIRMED_CAST"/>
+ </Match>
<Match>
<!-- Dummy thread -->
- <Class name="org.apache.juli.AsyncFileHandler$LoggerThread"/>
+ <Class name="org.apache.juli.AsyncFileHandler$LoggerExecutorService"/>
<Method name="deregisterHandler"/>
<Bug pattern="DM_USELESS_THREAD"/>
</Match>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org