Author: markt
Date: Tue Dec  5 13:32:21 2017
New Revision: 1817196

URL: http://svn.apache.org/viewvc?rev=1817196&view=rev
Log:
Update false positive list after DBCP update

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=1817196&r1=1817195&r2=1817196&view=diff
==============================================================================
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Tue Dec  5 13:32:21 
2017
@@ -739,8 +739,15 @@
   </Match>
   <Match>
     <!-- SQL construction is necessary for pooled statements -->
-    <Class name="org.apache.tomcat.dbcp.dbcp2.PoolingConnection" />
-    <Method name="makeObject" />
+    <Or>
+      <Class name="org.apache.tomcat.dbcp.dbcp2.PStmtKey$PreparedStatementSQL" 
/>
+      <Class 
name="org.apache.tomcat.dbcp.dbcp2.PStmtKey$PreparedStatementWithAutoGeneratedKeys"
 />
+      <Class 
name="org.apache.tomcat.dbcp.dbcp2.PStmtKey$PreparedStatementWithColumnIndexes" 
/>
+      <Class 
name="org.apache.tomcat.dbcp.dbcp2.PStmtKey$PreparedStatementWithColumnNames" />
+      <Class 
name="org.apache.tomcat.dbcp.dbcp2.PStmtKey$PreparedStatementWithResultSetConcurrency"
 />
+      <Class 
name="org.apache.tomcat.dbcp.dbcp2.PStmtKey$PreparedStatementWithResultSetHoldability"
 />
+    </Or>
+    <Method name="createStatement" />
     <Bug pattern="SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" />
   </Match>
   <Match>



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

Reply via email to