commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1021568 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
Date Tue, 12 Oct 2010 01:21:38 GMT
Author: sebb
Date: Tue Oct 12 01:21:37 2010
New Revision: 1021568

URL: http://svn.apache.org/viewvc?rev=1021568&view=rev
Log:
Typo, missing annotation

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java?rev=1021568&r1=1021567&r2=1021568&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java (original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java Tue
Oct 12 01:21:37 2010
@@ -102,7 +102,7 @@ public abstract class BaseKeyedObjectPoo
 
     /**
      * Not supported in this base implementation.
-     * @throws UnsupportedOpereationException
+     * @throws UnsupportedOperationException
      */
     public void clear() throws Exception, UnsupportedOperationException {
         throw new UnsupportedOperationException();
@@ -132,6 +132,7 @@ public abstract class BaseKeyedObjectPoo
      * @param factory the new KeyedPoolableObjectFactory
      * @deprecated to be removed in pool 2.0
      */
+    @Deprecated
     public void setFactory(KeyedPoolableObjectFactory<K,V> factory) throws IllegalStateException,
UnsupportedOperationException {
         throw new UnsupportedOperationException();
     }



Mime
View raw message