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

commit 0f6899cb98f2fc70ef753701886bbdfce1a109f4
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Sat Sep 16 10:00:03 2023 +0100

    Suppress a false positive
---
 res/spotbugs/filter-false-positives.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 70baa748a0..64ea238d31 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -1041,6 +1041,12 @@
     <Method name="waitFor" />
     <Bug pattern="WA_NOT_IN_LOOP" />
   </Match>
+  <Match>
+    <!-- Surrounding loop takes correct action for all return values. -->
+    <Class name="org.apache.coyote.http2.WindowAllocationManager" />
+    <Method name="waitFor" />
+    <Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
+  </Match>
   <Match>
     <!-- Returning null is required by the EL specification -->
     <Class name="org.apache.el.lang.ELSupport" />


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

Reply via email to