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

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


The following commit(s) were added to refs/heads/main by this push:
     new 56400732b5 Update @SuppressWarnings with correct warning type
56400732b5 is described below

commit 56400732b5c1439c224b8f6d27b5c5c6f3f3ce3b
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu May 11 20:05:14 2023 +0100

    Update @SuppressWarnings with correct warning type
---
 java/org/apache/tomcat/dbcp/dbcp2/DelegatingStatement.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/dbcp/dbcp2/DelegatingStatement.java 
b/java/org/apache/tomcat/dbcp/dbcp2/DelegatingStatement.java
index ff5d937fc4..9e5853894a 100644
--- a/java/org/apache/tomcat/dbcp/dbcp2/DelegatingStatement.java
+++ b/java/org/apache/tomcat/dbcp/dbcp2/DelegatingStatement.java
@@ -368,7 +368,7 @@ public class DelegatingStatement extends AbandonedTrace 
implements Statement {
         }
     }
 
-    @SuppressWarnings("deprecation") // Need Commons DBCP to address this
+    @SuppressWarnings("removal") // Need Commons DBCP to address this
     @Override
     protected void finalize() throws Throwable {
         // This is required because of statement pooling. The poolable


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

Reply via email to