Author: markt
Date: Thu Jul 6 13:54:38 2017
New Revision: 1801053
URL: http://svn.apache.org/viewvc?rev=1801053&view=rev
Log:
FindBugs: More false positives
Modified:
tomcat/tc7.0.x/trunk/res/findbugs/filter-false-positives.xml
Modified: tomcat/tc7.0.x/trunk/res/findbugs/filter-false-positives.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/res/findbugs/filter-false-positives.xml?rev=1801053&r1=1801052&r2=1801053&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/tc7.0.x/trunk/res/findbugs/filter-false-positives.xml Thu Jul 6
13:54:38 2017
@@ -466,6 +466,12 @@
<Bug code="CN" />
</Match>
<Match>
+ <!-- Return value is ignored but a null result will trigger an exception
-->
+ <Class name="org.apache.tomcat.jdbc.pool.ConnectionPool$ConnectionFuture"
/>
+ <Method name="get" />
+ <Bug code="RV" />
+ </Match>
+ <Match>
<Class name="org.apache.tomcat.util.IntrospectionUtils" />
<Method name="findMethod"/>
<Bug code="NP" />
@@ -648,6 +654,12 @@
</Match>
<!-- Test code -->
+ <Match>
+ <!-- Return value of latch is intentionally ignored -->
+ <Class name="org.apache.catalina.connector.TestSendFile"/>
+ <Method name="testBug60409"/>
+ <Bug pattern="RV_RETURN_VALUE_IGNORED"/>
+ </Match>
<Match>
<Or>
<Class name="org.apache.catalina.startup.TestListener$SCL" />
@@ -757,4 +769,13 @@
</Or>
<Bug code="RR" />
</Match>
+ <Match>
+ <!-- Return value of latch is intentionally ignored -->
+ <Or>
+ <Class name="org.apache.tomcat.websocket.TestWebSocketFrameClient"/>
+ <Class name="org.apache.tomcat.websocket.TestWebSocketFrameClientSSL"/>
+ </Or>
+ <Method name="testConnectToServerEndpoint"/>
+ <Bug pattern="RV_RETURN_VALUE_IGNORED"/>
+ </Match>
</FindBugsFilter>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]