8338398: Trivially fix grammar and typos

Reviewed-by: aivanov
This commit is contained in:
Pavel Rappo 2024-08-16 14:06:10 +00:00
parent 5022109b2a
commit 07352c6744
3 changed files with 6 additions and 6 deletions

View file

@ -1072,7 +1072,7 @@ public abstract class ForkJoinTask<V> implements Future<V>, Serializable {
/**
* Tries to join this task, returning true if it completed
* (possibly exceptionally) before the given timeout and
* (possibly exceptionally) before the given timeout elapsed and
* the current thread has not been interrupted.
*
* @param timeout the maximum time to wait
@ -1097,7 +1097,7 @@ public abstract class ForkJoinTask<V> implements Future<V>, Serializable {
/**
* Tries to join this task, returning true if it completed
* (possibly exceptionally) before the given timeout.
* (possibly exceptionally) before the given timeout elapsed.
*
* @param timeout the maximum time to wait
* @param unit the time unit of the timeout argument