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-lang.git
The following commit(s) were added to refs/heads/master by this push: new 13316cfcb Add a JavaDoc link from StopWatch to DurationUtils. (#1249) 13316cfcb is described below commit 13316cfcbd676bac9915a86ea59bb35ff9f9c571 Author: Oliver B. Fischer <o.b.fisc...@swe-blog.net> AuthorDate: Sat Jul 20 15:05:06 2024 +0200 Add a JavaDoc link from StopWatch to DurationUtils. (#1249) Added a JavaDoc link from StopWatch to DurationUtils, as DurationUtils provide similar functiontionality, which could be used in simple use cases. --- src/main/java/org/apache/commons/lang3/time/StopWatch.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/apache/commons/lang3/time/StopWatch.java b/src/main/java/org/apache/commons/lang3/time/StopWatch.java index 8495b15b6..1552ceae0 100644 --- a/src/main/java/org/apache/commons/lang3/time/StopWatch.java +++ b/src/main/java/org/apache/commons/lang3/time/StopWatch.java @@ -23,6 +23,8 @@ import java.util.Objects; import java.util.concurrent.TimeUnit; import org.apache.commons.lang3.StringUtils; +import org.apache.commons.lang3.function.FailableConsumer; +import org.apache.commons.lang3.function.FailableRunnable; /** * {@link StopWatch} provides a convenient API for timings. @@ -59,6 +61,9 @@ import org.apache.commons.lang3.StringUtils; * This class is not thread-safe * </p> * + * @see DurationUtils#of(FailableRunnable) + * @see DurationUtils#of(FailableConsumer) + * * @since 2.0 */ public class StopWatch {