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 981382b  Minor Javadoc improvement.
981382b is described below

commit 981382b3b10a074ca82f0ae782156a7dbbe64ef1
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Fri Jul 2 09:11:21 2021 -0400

    Minor Javadoc improvement.
---
 src/main/java/org/apache/commons/pool2/TrackedUse.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/pool2/TrackedUse.java 
b/src/main/java/org/apache/commons/pool2/TrackedUse.java
index 171d9d0..d25241e 100644
--- a/src/main/java/org/apache/commons/pool2/TrackedUse.java
+++ b/src/main/java/org/apache/commons/pool2/TrackedUse.java
@@ -30,7 +30,7 @@ public interface TrackedUse {
     /**
      * Gets the last time this object was used in milliseconds.
      *
-     * @return long time in milliseconds.
+     * @return the last time this object was used in milliseconds.
      * @deprecated Use {@link #getLastUsedInstant()} which offers the best 
precision.
      */
     @Deprecated
@@ -43,7 +43,7 @@ public interface TrackedUse {
      * of microseconds, depending on the OS, Hardware, and JVM implementation.
      * </p>
      *
-     * @return time as an Instant.
+     * @return the last Instant this object was used.
      * @since 2.11.0
      */
     default Instant getLastUsedInstant() {

Reply via email to