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 2013/11/27 05:09:52 UTC

svn commit: r1545920 - /commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java

Author: psteitz
Date: Wed Nov 27 04:09:51 2013
New Revision: 1545920

URL: http://svn.apache.org/r1545920
Log:
Javadoc fixes.

Modified:
    commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java?rev=1545920&r1=1545919&r2=1545920&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java (original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java Wed Nov 27 04:09:51 2013
@@ -376,7 +376,7 @@ public class GenericObjectPool<T> extend
      * the {@link #getMaxTotal() maxTotal}, (if applicable)
      * {@link #getBlockWhenExhausted()} and the value passed in to the
      * <code>borrowMaxWaitMillis</code> parameter. If the number of instances
-     * checked out from the pool is less than <code>maxActive,</code> a new
+     * checked out from the pool is less than <code>maxTotal,</code> a new
      * instance is created, activated and (if applicable) validated and returned
      * to the caller.
      * <p>
@@ -386,7 +386,7 @@ public class GenericObjectPool<T> extend
      * <code>NoSuchElementException</code> (if
      * {@link #getBlockWhenExhausted()} is false). The length of time that this
      * method will block when {@link #getBlockWhenExhausted()} is true is
-     * determined by the value passed in to the <code>borrowMaxWait</code>
+     * determined by the value passed in to the <code>borrowMaxWaitMillis</code>
      * parameter.
      * <p>
      * When the pool is exhausted, multiple calling threads may be
@@ -521,7 +521,7 @@ public class GenericObjectPool<T> extend
      * this case, if validation fails, the instance is destroyed.
      * <p>
      * Exceptions encountered destroying objects for any reason are swallowed
-     * but notified via a {@link SwallowedExceptionListener}..
+     * but notified via a {@link SwallowedExceptionListener}.
      *
      * @param obj instance to return to the pool
      */