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/07/14 14:48:58 UTC
[commons-pool] 02/02: Javadoc tweaks
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 40ec36facac6b84815c50426938b67c1ea5b6c95
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jul 14 10:48:52 2023 -0400
Javadoc tweaks
---
src/main/java/org/apache/commons/pool2/PooledObject.java | 4 ++--
1 file 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 4eb1825d..dc76b46e 100644
--- a/src/main/java/org/apache/commons/pool2/PooledObject.java
+++ b/src/main/java/org/apache/commons/pool2/PooledObject.java
@@ -54,7 +54,7 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> {
/**
* Orders instances based on idle time - i.e. the length of time since the
* instance was returned to the pool. Used by the GKOP idle object evictor.
- *<p>
+ * <p>
* Note: This class has a natural ordering that is inconsistent with
* equals if distinct objects have the same identity hash code.
* </p>
@@ -78,7 +78,6 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> {
*
* @param idleQueue The queue of idle objects to which the object should be
* returned.
- *
* @return Currently not used.
*/
boolean endEvictionTest(Deque<PooledObject<T>> idleQueue);
@@ -278,6 +277,7 @@ public interface PooledObject<T> extends Comparable<PooledObject<T>> {
/**
* Gets the state of this object.
+ *
* @return state
*/
PooledObjectState getState();