From 3dd4cb99b1e4bbaf2adb8fbca6815e9a8ba8df00 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Fri, 18 Mar 2011 11:18:03 +0100 Subject: [PATCH] Removing verbose type annotation --- akka-actor/src/main/scala/akka/dispatch/Future.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }