This is an automated email from the ASF dual-hosted git repository.
garydgregory 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 b64542b55 Javadoc
b64542b55 is described below
commit b64542b5537b699f456cc8facf5e6481140dafaa
Author: Gary Gregory <[email protected]>
AuthorDate: Wed May 6 07:40:52 2026 -0400
Javadoc
---
src/main/java/org/apache/commons/lang3/ThreadUtils.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/lang3/ThreadUtils.java
b/src/main/java/org/apache/commons/lang3/ThreadUtils.java
index e2af9d182..ad5b7677c 100644
--- a/src/main/java/org/apache/commons/lang3/ThreadUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ThreadUtils.java
@@ -471,8 +471,11 @@ public static ThreadGroup getSystemThreadGroup() {
/**
* Waits for the given thread to die for the given duration. Implemented
using {@link Thread#join(long, int)}.
+ * <p>
+ * Calling this method with {@link Duration#ZERO} is equivalent to calling
{@link Thread#join(long, int) Thread.join(0, 0)}, which waits forever.
+ * </p>
*
- * @param thread The thread to join.
+ * @param thread The thread to join.
* @param duration How long to wait.
* @throws InterruptedException if any thread has interrupted the current
thread.
* @see Thread#join(long, int)