diff --git a/akka-actor/src/main/scala/akka/dispatch/Future.scala b/akka-actor/src/main/scala/akka/dispatch/Future.scala index 52a51831e8..3d37ec2ef8 100644 --- a/akka-actor/src/main/scala/akka/dispatch/Future.scala +++ b/akka-actor/src/main/scala/akka/dispatch/Future.scala @@ -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) }