You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/01/06 15:58:34 UTC

[tomcat] 02/03: Fix SpotBugs issues reported via IDE

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit dc82724fc583806a72095881ffa9e08f71511446
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jan 6 15:37:19 2023 +0000

    Fix SpotBugs issues reported via IDE
---
 res/spotbugs/filter-false-positives.xml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/res/spotbugs/filter-false-positives.xml b/res/spotbugs/filter-false-positives.xml
index b2710b9dca..9a1745c663 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -1208,15 +1208,15 @@
   </Match>
   <Match>
     <!-- SQL construction is necessary for pooled statements -->
+    <Class name="org.apache.tomcat.dbcp.dbcp2.PStmtKey" />
     <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" />
+      <Method name="lambda$3" />
+      <Method name="lambda$4" />
+      <Method name="lambda$5" />
+      <Method name="lambda$6" />
+      <Method name="lambda$7" />
+      <Method name="lambda$8" />
     </Or>
-    <Method name="createStatement" />
     <Bug pattern="SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" />
   </Match>
   <Match>


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