1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Bug 259881: apply fix for incorrect Sequence#get(...timeout...) implementation

This commit is contained in:
Ed Swartz 2010-09-19 17:32:21 +00:00
parent 9e54b94108
commit 394f056cd3

View file

@ -309,7 +309,7 @@ abstract public class Sequence extends DsfRunnable implements Future<Object> {
* @see java.concurrent.Future#get
*/
public Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
fSync.doGet();
fSync.doGet(unit.toNanos(timeout));
return null;
}