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 2011/05/21 18:27:45 UTC

svn commit: r1125742 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java

Author: markt
Date: Sat May 21 16:27:45 2011
New Revision: 1125742

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

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java?rev=1125742&r1=1125741&r2=1125742&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java (original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java Sat May 21 16:27:45 2011
@@ -1422,25 +1422,25 @@ public class GenericKeyedObjectPool<K,T>
             } catch (Exception e) {
                 // TODO - Ignore?
             }
-             itemsToRemove--;
-         }
-     }
-
-
-     /**
-      * <p>Perform <code>numTests</code> idle object eviction tests, evicting
-      * examined objects that meet the criteria for eviction. If
-      * <code>testWhileIdle</code> is true, examined objects are validated
-      * when visited (and removed if invalid); otherwise only objects that
-      * have been idle for more than <code>minEvicableIdletimeMillis</code>
-      * are removed.</p>
-      *
-      * <p>Successive activations of this method examine objects in keyed pools
-      * in sequence, cycling through the keys and examining objects in
-      * oldest-to-youngest order within the keyed pools.</p>
-      *
-      * @throws Exception when there is a problem evicting idle objects.
-      */
+            itemsToRemove--;
+        }
+    }
+
+
+    /**
+     * <p>Perform <code>numTests</code> idle object eviction tests, evicting
+     * examined objects that meet the criteria for eviction. If
+     * <code>testWhileIdle</code> is true, examined objects are validated
+     * when visited (and removed if invalid); otherwise only objects that
+     * have been idle for more than <code>minEvicableIdletimeMillis</code>
+     * are removed.</p>
+     *
+     * <p>Successive activations of this method examine objects in keyed pools
+     * in sequence, cycling through the keys and examining objects in
+     * oldest-to-youngest order within the keyed pools.</p>
+     *
+     * @throws Exception when there is a problem evicting idle objects.
+     */
     public void evict() throws Exception {
         assertOpen();