rename akka.AkkaApplication to akka.actor.ActorSystem

Renaming it to System did not appeal after seeing that such a thing is
already imported from Predef ...
This commit is contained in:
Roland 2011-11-10 20:08:00 +01:00
parent c6e44ffef7
commit 945b1aedf9
79 changed files with 209 additions and 230 deletions

View file

@ -5,8 +5,7 @@
//#imports
package akka.tutorial.first.scala
import akka.AkkaApplication
import akka.actor.{ Actor, PoisonPill }
import akka.actor.{ Actor, ActorSystem, PoisonPill }
import akka.routing.Routing.Broadcast
import akka.routing.{ RoutedProps, Routing }
import java.util.concurrent.CountDownLatch
@ -15,7 +14,7 @@ import java.util.concurrent.CountDownLatch
//#app
object Pi extends App {
val app = AkkaApplication()
val app = ActorSystem()
calculate(nrOfWorkers = 4, nrOfElements = 10000, nrOfMessages = 10000)