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, 08 Jun 2018 20:13:05 GMT
Repository: commons-dbcp
Updated Branches:
  refs/heads/master 6441942c3 -> baced9175


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/baced917
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/baced917
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/baced917

Branch: refs/heads/master
Commit: baced9175a67c62edd254e8ea985e5ffc0988b69
Parents: 6441942
Author: Gary Gregory <garydgregory@gmail.com>
Authored: Fri Jun 8 14:13:02 2018 -0600
Committer: Gary Gregory <garydgregory@gmail.com>
Committed: Fri Jun 8 14:13:02 2018 -0600

----------------------------------------------------------------------
 .../commons/dbcp2/datasources/TestSharedPoolDataSource.java   | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/baced917/src/test/java/org/apache/commons/dbcp2/datasources/TestSharedPoolDataSource.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbcp2/datasources/TestSharedPoolDataSource.java
b/src/test/java/org/apache/commons/dbcp2/datasources/TestSharedPoolDataSource.java
index fea405e..f4328b7 100644
--- a/src/test/java/org/apache/commons/dbcp2/datasources/TestSharedPoolDataSource.java
+++ b/src/test/java/org/apache/commons/dbcp2/datasources/TestSharedPoolDataSource.java
@@ -422,42 +422,49 @@ public class TestSharedPoolDataSource extends TestConnectionPool {
         }
         abstract PreparedStatement getPreparedStatement() throws SQLException;
     }
+    
     private static class PscbString extends PrepareStatementCallback {
         @Override
         PreparedStatement getPreparedStatement() throws SQLException {
             return conn.prepareStatement("select * from dual");
         }
     }
+    
     private static class PscbStringIntInt extends PrepareStatementCallback {
         @Override
         PreparedStatement getPreparedStatement() throws SQLException {
             return conn.prepareStatement("select * from dual",0,0);
         }
     }
+    
     private static class PscbStringInt extends PrepareStatementCallback {
         @Override
         PreparedStatement getPreparedStatement() throws SQLException {
             return conn.prepareStatement("select * from dual",0);
         }
     }
+    
     private static class PscbStringIntArray extends PrepareStatementCallback {
         @Override
         PreparedStatement getPreparedStatement() throws SQLException {
             return conn.prepareStatement("select * from dual", new int[0]);
         }
     }
+    
     private static class PscbStringStringArray extends PrepareStatementCallback {
         @Override
         PreparedStatement getPreparedStatement() throws SQLException {
             return conn.prepareStatement("select * from dual",new String[0]);
         }
     }
+    
     private static class PscbStringIntIntInt extends PrepareStatementCallback {
         @Override
         PreparedStatement getPreparedStatement() throws SQLException {
             return conn.prepareStatement("select * from dual",0,0,0);
         }
     }
+    
     private void doTestPoolPreparedStatements(final PrepareStatementCallback callBack)
     throws Exception {
         final DriverAdapterCPDS mypcds = new DriverAdapterCPDS();


Mime
View raw message