Repository: commons-pool
Updated Branches:
  refs/heads/master 9c2b74bb7 -> f08b31327


Javadoc: Use the active voice.

Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/f08b3132
Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/f08b3132
Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/f08b3132

Branch: refs/heads/master
Commit: f08b31327d5c012e9f0fed67023fe8e53905d6b7
Parents: 9c2b74b
Author: Gary Gregory <garydgreg...@gmail.com>
Authored: Wed Apr 18 12:53:34 2018 -0600
Committer: Gary Gregory <garydgreg...@gmail.com>
Committed: Wed Apr 18 12:53:34 2018 -0600

----------------------------------------------------------------------
 .../commons/pool2/impl/SoftReferenceObjectPool.java     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-pool/blob/f08b3132/src/main/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java 
b/src/main/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java
index f7d57de..91a8e74 100644
--- a/src/main/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/impl/SoftReferenceObjectPool.java
@@ -78,7 +78,7 @@ public class SoftReferenceObjectPool<T> extends 
BaseObjectPool<T> {
     }
 
     /**
-     * Borrow an object from the pool. If there are no idle instances available
+     * Borrows an object from the pool. If there are no idle instances 
available
      * in the pool, the configured factory's
      * {@link PooledObjectFactory#makeObject()} method is invoked to create a
      * new instance.
@@ -243,7 +243,7 @@ public class SoftReferenceObjectPool<T> extends 
BaseObjectPool<T> {
     }
 
     /**
-     * Create an object, and place it into the pool. addObject() is useful for
+     * Creates an object, and places it into the pool. addObject() is useful 
for
      * "pre-loading" a pool with idle objects.
      * <p>
      * Before being added to the pool, the newly created instance is
@@ -313,7 +313,7 @@ public class SoftReferenceObjectPool<T> extends 
BaseObjectPool<T> {
     }
 
     /**
-     * Return the number of instances currently borrowed from this pool.
+     * Returns the number of instances currently borrowed from this pool.
      *
      * @return the number of instances currently borrowed from this pool
      */
@@ -345,7 +345,7 @@ public class SoftReferenceObjectPool<T> extends 
BaseObjectPool<T> {
     }
 
     /**
-     * Close this pool, and free any resources associated with it. Invokes
+     * Closes this pool, and frees any resources associated with it. Invokes
      * {@link #clear()} to destroy and remove instances in the pool.
      * <p>
      * Calling {@link #addObject} or {@link #borrowObject} after invoking this
@@ -382,7 +382,7 @@ public class SoftReferenceObjectPool<T> extends 
BaseObjectPool<T> {
     }
 
     /**
-     * Find the PooledSoftReference in allReferences that points to obj.
+     * Finds the PooledSoftReference in allReferences that points to obj.
      *
      * @param obj returning object
      * @return PooledSoftReference wrapping a soft reference to obj
@@ -399,7 +399,7 @@ public class SoftReferenceObjectPool<T> extends 
BaseObjectPool<T> {
     }
 
     /**
-     * Destroy a {@code PooledSoftReference} and remove it from the idle and 
all
+     * Destroys a {@code PooledSoftReference} and removes it from the idle and 
all
      * references pools.
      *
      * @param toDestroy PooledSoftReference to destroy

Reply via email to