Removing verbose type annotation

This commit is contained in:
Viktor Klang 2011-03-18 11:18:03 +01:00
parent 2255be4f0c
commit 3dd4cb99b1

View file

@ -117,7 +117,7 @@ object Futures {
if (seedFound.compareAndSet(false, true)) { //Only the first completed should trigger the fold
f.value.get match {
case r: Right[Throwable, T] =>
result.completeWith(fold[T,R](r.b, timeout)(futures.filterNot(_ eq f))(op))
result.completeWith(fold(r.b, timeout)(futures.filterNot(_ eq f))(op))
case l: Left[Throwable, T] =>
result.completeWithException(l.a)
}