From 469f45c83b55777137cbb73e10d4c7df622d3e80 Mon Sep 17 00:00:00 2001 From: Shikhar Bhushan Date: Wed, 10 Mar 2010 00:36:37 +0100 Subject: [PATCH] javadoc correction --- src/main/java/net/schmizz/concurrent/Event.java | 6 +++--- src/main/java/net/schmizz/concurrent/Future.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/schmizz/concurrent/Event.java b/src/main/java/net/schmizz/concurrent/Event.java index 23b1c62b..41e3dd31 100644 --- a/src/main/java/net/schmizz/concurrent/Event.java +++ b/src/main/java/net/schmizz/concurrent/Event.java @@ -72,10 +72,10 @@ public class Event } /** - * 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 unit the time unit + * @param timeout timeout + * @param unit the time unit for the timeout * * @throws T if another thread meanwhile informs this event of an error, or timeout expires */ diff --git a/src/main/java/net/schmizz/concurrent/Future.java b/src/main/java/net/schmizz/concurrent/Future.java index 4cb68ecf..aefdc1af 100644 --- a/src/main/java/net/schmizz/concurrent/Future.java +++ b/src/main/java/net/schmizz/concurrent/Future.java @@ -122,10 +122,10 @@ public class Future { } /** - * 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 unit time unit + * @param timeout the timeout + * @param unit time unit for the timeout * * @return the value *