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 2011/06/13 18:55:29 UTC
svn commit: r1135173 -
/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ObjectPool.java
Author: markt
Date: Mon Jun 13 16:55:29 2011
New Revision: 1135173
URL: http://svn.apache.org/viewvc?rev=1135173&view=rev
Log:
Remove setFactory deprecation
Modified:
commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ObjectPool.java
Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ObjectPool.java?rev=1135173&r1=1135172&r2=1135173&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ObjectPool.java (original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/ObjectPool.java Mon Jun 13 16:55:29 2011
@@ -186,8 +186,6 @@ public interface ObjectPool<T> {
* @param factory the {@link PoolableObjectFactory} used to create new instances.
* @throws IllegalStateException when the factory cannot be set at this time
* @throws UnsupportedOperationException if this implementation does not support the operation
- * @deprecated to be removed in pool 2.0
*/
- @Deprecated
void setFactory(PoolableObjectFactory<T> factory) throws IllegalStateException, UnsupportedOperationException;
}