You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2009/05/23 21:57:11 UTC

svn commit: r778007 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java

Author: psteitz
Date: Sat May 23 19:57:11 2009
New Revision: 778007

URL: http://svn.apache.org/viewvc?rev=778007&view=rev
Log:
Javadoc only.

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

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java?rev=778007&r1=778006&r2=778007&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java (original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java Sat May 23 19:57:11 2009
@@ -94,14 +94,12 @@
      * or sub-interface.
      *
      * @param obj a {@link #borrowObject borrowed} instance to be returned.
-     * @throws Exception <b>deprecated</b>: as of Pool 2.0 pool implementations should swallow
-     * exceptions that occur when a poolable object is returned. For future source compatability
-     * implementations of this method should not even declare that they throw any exception.
+     * @throws Exception 
      */
     void returnObject(Object obj) throws Exception;
 
     /**
-     * Invalidates an object from the pool
+     * Invalidates an object from the pool.
      * By contract, <code>obj</code> <strong>must</strong> have been obtained
      * using {@link #borrowObject borrowObject}
      * or a related method as defined in an implementation
@@ -112,9 +110,7 @@
      * </p>
      *
      * @param obj a {@link #borrowObject borrowed} instance to be disposed.
-     * @throws Exception <b>deprecated</b>: as of Pool 2.0 pool implementations should swallow
-     * exceptions that occur when a poolable object is returned. For future source compatability
-     * implementations of this method should not even declare that they throw any exception.
+     * @throws Exception
      */
     void invalidateObject(Object obj) throws Exception;