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 b5ea86a  Update false positives
b5ea86a is described below

commit b5ea86a6d8d0deb6f11ce921151df9f37bd175db
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Jan 26 14:01:47 2021 +0000

    Update false positives
---
 res/findbugs/filter-false-positives.xml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/res/findbugs/filter-false-positives.xml 
b/res/findbugs/filter-false-positives.xml
index 9b8b32a..bcc56ba 100644
--- a/res/findbugs/filter-false-positives.xml
+++ b/res/findbugs/filter-false-positives.xml
@@ -415,6 +415,12 @@
     <Bug code="Dm" />
   </Match>
   <Match>
+  <!-- The stream is closed in the thread  -->
+    <Class name="org.apache.catalina.servlets.CGIServlet$CGIRunner" />
+    <Method name="run" />
+    <Bug pattern="OS_OPEN_STREAM" />
+  </Match>
+  <Match>
   <!-- The header value is safe  -->
     <Class name="org.apache.catalina.servlets.DefaultServlet" />
     <Method name="doDirectoryRedirect" />
@@ -1027,9 +1033,9 @@
   <Match>
     <!-- Simpler to catch Exception than to create dummy implementations of the
          necessary exception hierarchy -->
-    <Class name="org.apache.naming.factory.SendMailFactory$1" />
-    <Method name="run" />
-    <Bug code="DE" />
+    <Class name="org.apache.naming.factory.SendMailFactory" />
+    <Method name="lambda$0" />
+    <Bug pattern="DE_MIGHT_IGNORE" />
   </Match>
   <Match>
     <!-- Simpler to catch Exception than to create dummy implementations of the


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

Reply via email to