Author: sebb
Date: Sun Mar 27 13:40:20 2011
New Revision: 1085933
URL: http://svn.apache.org/viewvc?rev=1085933&view=rev
Log:
Javadoc fixes
Modified:
commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/PoolUtils.java
Modified:
commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
URL:
http://svn.apache.org/viewvc/commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java?rev=1085933&r1=1085932&r2=1085933&view=diff
==============================================================================
---
commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
(original)
+++
commons/proper/pool/branches/POOL_1_X/src/java/org/apache/commons/pool/BaseKeyedObjectPool.java
Sun Mar 27 13:40:20 2011
@@ -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();
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=1085933&r1=1085932&r2=1085933&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
Sun Mar 27 13:40:20 2011
@@ -2172,7 +2172,7 @@ public final class PoolUtils {
*
* @param keyedPool underlying pool
* @param factor erosion factor - determines the frequency of erosion
events
- * @see #factor
+ * @see #erodingFactor
*/
public ErodingKeyedObjectPool(final KeyedObjectPool keyedPool, final
float factor) {
this(keyedPool, new ErodingFactor(factor));
@@ -2203,12 +2203,12 @@ public final class PoolUtils {
/**
* Returns obj to the pool, unless erosion is triggered, in which
* case obj is invalidated. Erosion is triggered when there are idle
instances in
- * the pool associated with the given key and more than the configured
{@link #factor erosion factor}
+ * the pool associated with the given key and more than the configured
{@link #erodingFactor erosion factor}
* time has elapsed since the last returnObject activation.
*
* @param obj object to return or invalidate
* @param key key
- * @see #factor
+ * @see #erodingFactor
*/
public void returnObject(final Object key, final Object obj) throws
Exception {
boolean discard = false;
@@ -2235,9 +2235,6 @@ public final class PoolUtils {
}
}
- /**
- * {@inheritDoc}
- */
protected int numIdle(final Object key) {
return getKeyedPool().getNumIdle();
}