Removing compilation warnings.

This commit is contained in:
Viktor Klang 2012-09-19 17:32:54 +02:00
parent 888f81df8d
commit d0c71d563e
6 changed files with 15 additions and 14 deletions

View file

@ -9,6 +9,7 @@ import akka.testkit._
import akka.actor._
import com.typesafe.config._
import scala.concurrent.Future
import scala.reflect.classTag
import akka.pattern.ask
import java.io.File
import java.security.{ NoSuchAlgorithmException, SecureRandom, PrivilegedAction, AccessController }
@ -144,7 +145,7 @@ abstract class Ticket1978CommunicationSpec(val cipherConfig: CipherConfig) exten
import system.dispatcher
val here = system.actorFor(otherAddress.toString + "/user/echo")
val f = for (i 1 to 1000) yield here ? (("ping", i)) mapTo manifest[((String, Int), ActorRef)]
val f = for (i 1 to 1000) yield here ? (("ping", i)) mapTo classTag[((String, Int), ActorRef)]
Await.result(Future.sequence(f), timeout.duration).map(_._1._1).toSet must be(Set("pong"))
}