javadoc correction

This commit is contained in:
Shikhar Bhushan
2010-03-10 00:36:37 +01:00
parent 35a0ec0f32
commit 469f45c83b
2 changed files with 6 additions and 6 deletions

View File

@@ -72,10 +72,10 @@ public class Event<T extends Throwable>
} }
/** /**
* Await this event to have a definite {@code true} or {@code false} value, for {@code timeout} seconds. * Await this event to have a definite {@code true} or {@code false} value, for {@code timeout} duration.
* *
* @param timeout timeout in seconds * @param timeout timeout
* @param unit the time unit * @param unit the time unit for the timeout
* *
* @throws T if another thread meanwhile informs this event of an error, or timeout expires * @throws T if another thread meanwhile informs this event of an error, or timeout expires
*/ */

View File

@@ -122,10 +122,10 @@ public class Future<V, T extends Throwable> {
} }
/** /**
* Wait for {@code timeout} seconds for this future's value to be set. * Wait for {@code timeout} duration for this future's value to be set.
* *
* @param timeout the timeout in seconds * @param timeout the timeout
* @param unit time unit * @param unit time unit for the timeout
* *
* @return the value * @return the value
* *