mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 00:00:54 +03:00
javadoc correction
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user