more deprecation warnings removed

This commit is contained in:
dario.rexin 2013-04-26 13:54:10 +02:00
parent 20a819b637
commit 3e8597d94b
7 changed files with 24 additions and 26 deletions

View file

@ -149,7 +149,7 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
// create supervisor for daemons under path "/system/cluster"
private val clusterDaemons: ActorRef = {
system.asInstanceOf[ActorSystemImpl].systemActorOf(Props(new ClusterDaemon(settings)).
system.asInstanceOf[ActorSystemImpl].systemActorOf(Props(classOf[ClusterDaemon], settings).
withDispatcher(UseDispatcher), name = "cluster")
}