Removing verbose type annotation
This commit is contained in:
parent
2255be4f0c
commit
3dd4cb99b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue