This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-pool.git
commit 847d70db73bf928ad7c81bcf87899de497bbea84 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon Feb 15 18:03:39 2021 -0500 Javadoc formatting fixes. --- src/main/java/org/apache/commons/pool2/PooledObject.java | 12 ++++++------ .../org/apache/commons/pool2/impl/GenericObjectPool.java | 2 +- .../java/org/apache/commons/pool2/impl/PoolImplUtils.java | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/commons/pool2/PooledObject.java b/src/main/java/org/apache/commons/pool2/PooledObject.java index 25d7736..96f726d 100644 --- a/src/main/java/org/apache/commons/pool2/PooledObject.java +++ b/src/main/java/org/apache/commons/pool2/PooledObject.java @@ -75,7 +75,7 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> { boolean equals(Object obj); /** - * Gets the time in milliseconds that this object last spent in the + * Gets the time in milliseconds that this object last spent in the * active state (it may still be active in which case subsequent calls will * return an increased value). * @@ -94,7 +94,7 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> { } /** - * Gets the time (using the same basis as + * Gets the time (using the same basis as * {@link System#currentTimeMillis()}) that this object was created. * * @return The creation time for the wrapped object @@ -102,7 +102,7 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> { long getCreateTime(); /** - * Gets the time in milliseconds that this object last spend in the + * Gets the time in milliseconds that this object last spend in the * idle state (it may still be idle in which case subsequent calls will * return an increased value). * @@ -111,14 +111,14 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> { long getIdleTimeMillis(); /** - * Gets the time the wrapped object was last borrowed. + * Gets the time the wrapped object was last borrowed. * * @return The time the object was last borrowed */ long getLastBorrowTime(); /** - * Gets the time the wrapped object was last returned. + * Gets the time the wrapped object was last returned. * * @return The time the object was last returned */ @@ -136,7 +136,7 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> { long getLastUsedTime(); /** - * Gets the underlying object that is wrapped by this instance of + * Gets the underlying object that is wrapped by this instance of * {@link PooledObject}. * * @return The wrapped object diff --git a/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java b/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java index d4bfc44..e602a5e 100644 --- a/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java +++ b/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java @@ -715,7 +715,7 @@ public class GenericObjectPool<T> extends BaseGenericObjectPool<T> } /** - * Gets a reference to the factory used to create, destroy and validate + * Gets a reference to the factory used to create, destroy and validate * the objects used by this pool. * * @return the factory diff --git a/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java b/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java index 6ba43b5..eb39b92 100644 --- a/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java +++ b/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java @@ -67,7 +67,7 @@ class PoolImplUtils { } /** - * Gets the concrete type used by an implementation of an interface that uses a generic type. + * Gets the concrete type used by an implementation of an interface that uses a generic type. * * @param type * The interface that defines a generic type