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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git

commit e227e631e156a06150024cb7c51320e50c41416c
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Nov 21 20:27:08 2025 +0000

    Collapse String
---
 .../apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java
 
b/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java
index 06b2b5d1..c0ae6501 100644
--- 
a/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java
+++ 
b/src/main/java/org/apache/commons/dbcp2/datasources/KeyedCPDSConnectionFactory.java
@@ -39,9 +39,7 @@ import org.apache.commons.pool2.impl.DefaultPooledObject;
 final class KeyedCPDSConnectionFactory extends AbstractConnectionFactory
         implements KeyedPooledObjectFactory<UserPassKey, 
PooledConnectionAndInfo>, ConnectionEventListener, PooledConnectionManager {
 
-    private static final String NO_KEY_MESSAGE = "close() was called on a 
Connection, but "
-            + "I have no record of the underlying PooledConnection.";
-
+    private static final String NO_KEY_MESSAGE = "close() was called on a 
Connection, but I have no record of the underlying PooledConnection.";
     private KeyedObjectPool<UserPassKey, PooledConnectionAndInfo> pool;
 
     /**

Reply via email to