From 97e043b3fc95de41efed22aaa5fd84002916db65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Bon=C3=A9r?= Date: Sun, 10 Oct 2010 15:44:38 +0200 Subject: [PATCH] Removed errornous method in Future --- akka-actor/src/main/scala/dispatch/Future.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/akka-actor/src/main/scala/dispatch/Future.scala b/akka-actor/src/main/scala/dispatch/Future.scala index a5cc6bf8e9..c0b20b2053 100644 --- a/akka-actor/src/main/scala/dispatch/Future.scala +++ b/akka-actor/src/main/scala/dispatch/Future.scala @@ -20,7 +20,7 @@ object Futures { * ... // do stuff * } * - */ + * def future[T](timeout: Long)(body: => T): Future[T] = { val promise = new DefaultCompletableFuture[T](timeout) @@ -31,6 +31,7 @@ object Futures { } promise } + */ def awaitAll(futures: List[Future[_]]): Unit = futures.foreach(_.await)