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:
parent
c6e44ffef7
commit
945b1aedf9
79 changed files with 209 additions and 230 deletions
|
|
@ -4,16 +4,15 @@
|
|||
|
||||
package akka.tutorial.first.scala
|
||||
|
||||
import akka.actor.{ Actor, PoisonPill }
|
||||
import akka.actor.{ Actor, PoisonPill, ActorSystem }
|
||||
import Actor._
|
||||
import java.util.concurrent.CountDownLatch
|
||||
import akka.routing.Routing.Broadcast
|
||||
import akka.routing.{ RoutedProps, Routing }
|
||||
import akka.AkkaApplication
|
||||
|
||||
object Pi extends App {
|
||||
|
||||
val app = AkkaApplication()
|
||||
val app = ActorSystem()
|
||||
|
||||
calculate(nrOfWorkers = 4, nrOfElements = 10000, nrOfMessages = 10000)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue