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 2012/04/30 15:49:20 UTC

svn commit: r1332201 - /commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java

Author: markt
Date: Mon Apr 30 13:49:19 2012
New Revision: 1332201

URL: http://svn.apache.org/viewvc?rev=1332201&view=rev
Log:
Polish

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

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java?rev=1332201&r1=1332200&r2=1332201&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java (original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java Mon Apr 30 13:49:19 2012
@@ -649,28 +649,28 @@ public abstract class BaseGenericObjectP
             ClassLoader savedClassLoader =
                     Thread.currentThread().getContextClassLoader();
             try {
-                //  set the class loader for the factory
+                // Set the class loader for the factory
                 Thread.currentThread().setContextClassLoader(
                         factoryClassLoader);
 
-                //Evict from the pool
+                // Evict from the pool
                 try {
                     evict();
                 } catch(Exception e) {
-                    // ignored
+                    // Ignored
                 } catch(OutOfMemoryError oome) {
                     // Log problem but give evictor thread a chance to continue
                     // in case error is recoverable
                     oome.printStackTrace(System.err);
                 }
-                //Re-create idle instances.
+                // Re-create idle instances.
                 try {
                     ensureMinIdle();
                 } catch (Exception e) {
-                    // ignored
+                    // Ignored
                 }
             } finally {
-                // restore the previous CCL
+                // Restore the previous CCL
                 Thread.currentThread().setContextClassLoader(savedClassLoader);
             }
         }