commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1139631 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/datasources/CPDSConnectionFactory.java
Date Sat, 25 Jun 2011 21:58:03 GMT
Author: markt
Date: Sat Jun 25 21:58:02 2011
New Revision: 1139631

URL: http://svn.apache.org/viewvc?rev=1139631&view=rev
Log:
Fix indent

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/datasources/CPDSConnectionFactory.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/datasources/CPDSConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/datasources/CPDSConnectionFactory.java?rev=1139631&r1=1139630&r2=1139631&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/datasources/CPDSConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/datasources/CPDSConnectionFactory.java
Sat Jun 25 21:58:02 2011
@@ -101,29 +101,29 @@ class CPDSConnectionFactory
      * @param username
      * @param password
      */
-     public CPDSConnectionFactory(ConnectionPoolDataSource cpds,
-                                  ObjectPool pool,
-                                  String validationQuery,
-                                  boolean rollbackAfterValidation,
-                                  String username,
-                                  String password) {
-         _cpds = cpds;
-         _pool = pool;
-         pool.setFactory(this);
-         _validationQuery = validationQuery;
-         _username = username;
-         _password = password;
-         _rollbackAfterValidation = rollbackAfterValidation;
-     }
+    public CPDSConnectionFactory(ConnectionPoolDataSource cpds,
+                                 ObjectPool pool,
+                                 String validationQuery,
+                                 boolean rollbackAfterValidation,
+                                 String username,
+                                 String password) {
+        _cpds = cpds;
+        _pool = pool;
+        pool.setFactory(this);
+        _validationQuery = validationQuery;
+        _username = username;
+        _password = password;
+        _rollbackAfterValidation = rollbackAfterValidation;
+    }
      
-     /**
-      * Returns the object pool used to pool connections created by this factory.
-      * 
-      * @return ObjectPool managing pooled connections
-      */
-     public ObjectPool getPool() {
-         return _pool;
-     }
+    /**
+     * Returns the object pool used to pool connections created by this factory.
+     * 
+     * @return ObjectPool managing pooled connections
+     */
+    public ObjectPool getPool() {
+        return _pool;
+    }
 
     @Override
     public synchronized Object makeObject() {



Mime
View raw message