commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1213734 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
Date Tue, 13 Dec 2011 15:23:26 GMT
Author: markt
Date: Tue Dec 13 15:23:26 2011
New Revision: 1213734

URL: http://svn.apache.org/viewvc?rev=1213734&view=rev
Log:
Fix POOL-195. Make protected method final as it is called from constructor.

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

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java?rev=1213734&r1=1213733&r2=1213734&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
Tue Dec 13 15:23:26 2011
@@ -1224,7 +1224,7 @@ public class GenericObjectPool<T> extend
      * @param delay
      *            milliseconds between evictor runs.
      */
-    protected void startEvictor(long delay) {
+    protected final void startEvictor(long delay) {
         if (null != evictor) {
             EvictionTimer.cancel(evictor);
             evictor = null;



Mime
View raw message