commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject commons-dbcp git commit: Format nit.
Date Mon, 11 Jun 2018 15:48:47 GMT
Repository: commons-dbcp
Updated Branches:
  refs/heads/master dad21d73c -> 25d940708


Format nit.

Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/25d94070
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/25d94070
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/25d94070

Branch: refs/heads/master
Commit: 25d9407086393ee46fd5c981d8deaa9da2c17be6
Parents: dad21d7
Author: Gary Gregory <garydgregory@gmail.com>
Authored: Mon Jun 11 09:48:45 2018 -0600
Committer: Gary Gregory <garydgregory@gmail.com>
Committed: Mon Jun 11 09:48:45 2018 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/25d94070/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java b/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java
index 9a411d6..89a872b 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java
@@ -60,8 +60,7 @@ public class PoolingDataSource<C extends Connection> implements DataSource,
Auto
             if (pcf.getPool() != this.pool) {
                 log.warn(Utils.getMessage("poolingDataSource.factoryConfig"));
                 @SuppressWarnings("unchecked") // PCF must have a pool of PCs
-                final
-                ObjectPool<PoolableConnection> p = (ObjectPool<PoolableConnection>)
this.pool;
+                final ObjectPool<PoolableConnection> p = (ObjectPool<PoolableConnection>)
this.pool;
                 pcf.setPool(p);
             }
         }


Mime
View raw message