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/06/29 10:20:49 UTC

[tomcat] branch 9.0.x updated: Fix an IDE warning

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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 7c9bc19f1a Fix an IDE warning
7c9bc19f1a is described below

commit 7c9bc19f1a85252c4b5a9efc6f9ce27a65e28f08
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Jun 29 11:19:58 2023 +0100

    Fix an IDE warning
---
 .../src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
index bc77a3d085..06989ab807 100644
--- a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
+++ b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
@@ -113,7 +113,7 @@ public class ConnectionPool {
     /**
      * Executor service used to cancel Futures
      */
-    private ThreadPoolExecutor cancellator = new ThreadPoolExecutor(0,1,1000,TimeUnit.MILLISECONDS,new LinkedBlockingQueue<Runnable>());
+    private ThreadPoolExecutor cancellator = new ThreadPoolExecutor(0,1,1000,TimeUnit.MILLISECONDS,new LinkedBlockingQueue<>());
 
     /**
      * reference to the JMX mbean


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