Author: markt
Date: Fri Apr  6 19:35:55 2018
New Revision: 1828546

URL: http://svn.apache.org/viewvc?rev=1828546&view=rev
Log:
Fix false positive

Modified:
    tomcat/trunk/res/findbugs/filter-false-positives.xml

Modified: tomcat/trunk/res/findbugs/filter-false-positives.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/findbugs/filter-false-positives.xml?rev=1828546&r1=1828545&r2=1828546&view=diff
==============================================================================
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Fri Apr  6 19:35:55 
2018
@@ -1284,6 +1284,12 @@
     <Bug code="Nm" />
   </Match>
   <Match>
+    <!-- Monitor is used for a single condition. No need for loop. -->
+    <Class name="org.apache.tomcat.util.threads.InlineExecutorService" />
+    <Method name="awaitTermination" />
+    <Bug pattern="WA_NOT_IN_LOOP" />
+  </Match>
+  <Match>
     <!-- Object creation will trigger input processing. -->
     <Class name="org.apache.tomcat.websocket.WsWebSocketContainer" />
     <Method name="connectToServer" />



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

Reply via email to