You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/24 23:27:12 UTC
[commons-pool] branch master updated: Javadoc
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
The following commit(s) were added to refs/heads/master by this push:
new 265cfda3 Javadoc
265cfda3 is described below
commit 265cfda36a50dc71e5f88ccc546c2cae31d314e6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 24 19:27:07 2023 -0400
Javadoc
---
src/main/java/org/apache/commons/pool2/PooledObject.java | 2 +-
src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/pool2/PooledObject.java b/src/main/java/org/apache/commons/pool2/PooledObject.java
index bdb550e6..4eb1825d 100644
--- a/src/main/java/org/apache/commons/pool2/PooledObject.java
+++ b/src/main/java/org/apache/commons/pool2/PooledObject.java
@@ -159,7 +159,7 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> {
long getCreateTime();
/**
- * Computes the duration since this object was created (using {@link Instant#now()}).
+ * Gets the duration since this object was created (using {@link Instant#now()}).
*
* @return The duration since this object was created.
* @since 2.12.0
diff --git a/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java b/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java
index d567b3b6..6b761244 100644
--- a/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/impl/BaseGenericObjectPool.java
@@ -447,7 +447,7 @@ public abstract class BaseGenericObjectPool<T, E extends Exception> extends Base
}
/**
- * Casts the given throwable to E.
+ * Casts the given throwable to {@code E}.
*
* @param throwable the throwable.
* @return the input.