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 nits.
Date Fri, 04 May 2018 15:11:54 GMT
Repository: commons-dbcp
Updated Branches:
  refs/heads/master 4ac56619c -> ff38c184f


Format nits.

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

Branch: refs/heads/master
Commit: ff38c184f7b5e1e2b9ab88b22464041eade680d2
Parents: 4ac5661
Author: Gary Gregory <garydgregory@gmail.com>
Authored: Fri May 4 09:11:52 2018 -0600
Committer: Gary Gregory <garydgregory@gmail.com>
Committed: Fri May 4 09:11:52 2018 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/dbcp2/PoolingDriver.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/ff38c184/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java b/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
index 6bb7df2..053c60e 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolingDriver.java
@@ -50,7 +50,7 @@ public class PoolingDriver implements Driver {
     }
 
     /** The map of registered pools. */
-    protected static final HashMap<String,ObjectPool<? extends Connection>> pools
=
+    protected static final HashMap<String, ObjectPool<? extends Connection>>
pools =
             new HashMap<>();
 
     /** Controls access to the underlying connection */
@@ -88,7 +88,7 @@ public class PoolingDriver implements Driver {
 
     public synchronized void registerPool(final String name,
             final ObjectPool<? extends Connection> pool) {
-        pools.put(name,pool);
+        pools.put(name, pool);
     }
 
     public synchronized void closePool(final String name) throws SQLException {


Mime
View raw message