Skip to content

Commit b64542b

Browse files
committed
Javadoc
1 parent 8a3edd5 commit b64542b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/java/org/apache/commons/lang3/ThreadUtils.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,11 @@ public static ThreadGroup getSystemThreadGroup() {
471471

472472
/**
473473
* Waits for the given thread to die for the given duration. Implemented using {@link Thread#join(long, int)}.
474+
* <p>
475+
* Calling this method with {@link Duration#ZERO} is equivalent to calling {@link Thread#join(long, int) Thread.join(0, 0)}, which waits forever.
476+
* </p>
474477
*
475-
* @param thread The thread to join.
478+
* @param thread The thread to join.
476479
* @param duration How long to wait.
477480
* @throws InterruptedException if any thread has interrupted the current thread.
478481
* @see Thread#join(long, int)

0 commit comments

Comments
 (0)