commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1213733&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/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=1213733&r1=1213732&r2=1213733&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:22:47 2011
@@ -1637,7 +1637,7 @@ public class GenericKeyedObjectPool<K,T>
      *
      * @param delay milliseconds between evictor runs.
      */
-    protected synchronized void startEvictor(long delay) {
+    protected final synchronized void startEvictor(long delay) {
         if (null != _evictor) {
             EvictionTimer.cancel(_evictor);
             _evictor = null;



Mime
View raw message