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.
This commit is contained in:
Oliver B. Fischer 2024-07-20 15:05:06 +02:00 committed by GitHub
parent 69e3ba4188
commit 13316cfcbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,8 @@
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 @@
* This class is not thread-safe
* </p>
*
* @see DurationUtils#of(FailableRunnable)
* @see DurationUtils#of(FailableConsumer)
*
* @since 2.0
*/
public class StopWatch {