You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2018/06/19 09:07:14 UTC

commons-dbcp git commit: Use JLS order for modifiers

Repository: commons-dbcp
Updated Branches:
  refs/heads/master 97368dbe9 -> d7f3d4f5c


Use JLS order for modifiers

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

Branch: refs/heads/master
Commit: d7f3d4f5c6a163f18af993fff9d8e52a2f384aea
Parents: 97368db
Author: Mark Thomas <ma...@apache.org>
Authored: Tue Jun 19 10:05:36 2018 +0100
Committer: Mark Thomas <ma...@apache.org>
Committed: Tue Jun 19 10:06:45 2018 +0100

----------------------------------------------------------------------
 .../commons/dbcp2/managed/PoolableManagedConnectionFactory.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/d7f3d4f5/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java b/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
index 6b23804..1819362 100644
--- a/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
+++ b/src/main/java/org/apache/commons/dbcp2/managed/PoolableManagedConnectionFactory.java
@@ -63,7 +63,7 @@ public class PoolableManagedConnectionFactory extends PoolableConnectionFactory
      * PoolableManagedConnection if statement pooling is enabled.
      */
     @Override
-    synchronized public PooledObject<PoolableConnection> makeObject() throws Exception {
+    public synchronized PooledObject<PoolableConnection> makeObject() throws Exception {
         Connection conn = getConnectionFactory().createConnection();
         if (conn == null) {
             throw new IllegalStateException("Connection factory returned null from createConnection");