1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

[211616] Fixed Query.get(timeout) implementation.

This commit is contained in:
Pawel Piech 2007-11-30 17:50:44 +00:00
parent ad27060ba1
commit 3fef8680c9

View file

@ -74,7 +74,7 @@ abstract public class Query<V> extends DsfRunnable
public V get() throws InterruptedException, ExecutionException { return fSync.doGet(); }
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException {
return fSync.doGet();
return fSync.doGet(unit.toNanos(timeout));
}
/**