commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1222670 - in /commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool: PoolUtils.java impl/CursorableLinkedList.java
Date Fri, 23 Dec 2011 13:18:25 GMT
Author: ggregory
Date: Fri Dec 23 13:18:25 2011
New Revision: 1222670

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

Modified:
    commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/PoolUtils.java
    commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/impl/CursorableLinkedList.java

Modified: commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/PoolUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/PoolUtils.java?rev=1222670&r1=1222669&r2=1222670&view=diff
==============================================================================
--- commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/PoolUtils.java
(original)
+++ commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/PoolUtils.java
Fri Dec 23 13:18:25 2011
@@ -2295,6 +2295,14 @@ public final class PoolUtils {
             }
         }
 
+        /**
+         * Returns the total number of instances currently idle in this pool (optional operation).
+         * Returns a negative value if this information is not available.
+         *
+         * @param key ignored
+         * @return the total number of instances currently idle in this pool or a negative
value if unsupported
+         * @throws UnsupportedOperationException <strong>deprecated</strong>:
when this implementation doesn't support the operation
+         */
         protected int numIdle(final K key) {
             return getKeyedPool().getNumIdle();
         }

Modified: commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/impl/CursorableLinkedList.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/impl/CursorableLinkedList.java?rev=1222670&r1=1222669&r2=1222670&view=diff
==============================================================================
--- commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/impl/CursorableLinkedList.java
(original)
+++ commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/impl/CursorableLinkedList.java
Fri Dec 23 13:18:25 2011
@@ -51,9 +51,9 @@ import java.lang.ref.WeakReference;
  * <p>
  * <b>Note that this implementation is not synchronized.</b>
  *
- * @see java.util.LinkedList
- *
  * @param <E> the type of elements held in this collection
+ * 
+ * @see java.util.LinkedList
  *
  * @version $Revision: 480452 $ $Date: 2006-11-29 00:45:14 -0700 (Wed, 29 Nov 2006) $
  *



Mime
View raw message