commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1213735 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
Date Tue, 13 Dec 2011 15:27:34 GMT
Author: markt
Date: Tue Dec 13 15:27:33 2011
New Revision: 1213735

URL: http://svn.apache.org/viewvc?rev=1213735&view=rev
Log:
Rename to align with GOP

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=1213735&r1=1213734&r2=1213735&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
Tue Dec 13 15:27:33 2011
@@ -1638,13 +1638,13 @@ public class GenericKeyedObjectPool<K,T>
      * @param delay milliseconds between evictor runs.
      */
     protected final synchronized void startEvictor(long delay) {
-        if (null != _evictor) {
-            EvictionTimer.cancel(_evictor);
-            _evictor = null;
+        if (null != evictor) {
+            EvictionTimer.cancel(evictor);
+            evictor = null;
         }
         if (delay > 0) {
-            _evictor = new Evictor();
-            EvictionTimer.schedule(_evictor, delay, delay);
+            evictor = new Evictor();
+            EvictionTimer.schedule(evictor, delay, delay);
         }
     }
 
@@ -2064,7 +2064,7 @@ public class GenericKeyedObjectPool<K,T>
     /**
      * My idle object eviction {@link TimerTask}, if any.
      */
-    private Evictor _evictor = null;
+    private Evictor evictor = null;
 
     /** My hash of pools (ObjectQueue). */
     private final Map<K,ObjectDeque<T>> poolMap =



Mime
View raw message