commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r778007 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool/ObjectPool.java
Date Sat, 23 May 2009 19:57:11 GMT
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;
 



Mime
View raw message