mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8338398: Trivially fix grammar and typos
Reviewed-by: aivanov
This commit is contained in:
parent
5022109b2a
commit
07352c6744
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue