Fixed review comments

This commit is contained in:
Patrik Nordwall 2011-12-07 16:44:52 +01:00
parent 5cee76820e
commit c8472826fe
3 changed files with 45 additions and 20 deletions

View file

@ -168,7 +168,7 @@ class ActorDocSpec extends AkkaSpec(Map("akka.loglevel" -> "INFO")) {
//#creating-props
import akka.actor.Props
val dispatcher = system.dispatcherFactory.fromConfig("my-dispatcher")
val myActor = system.actorOf(Props().withDispatcher(dispatcher), name = "myactor")
val myActor = system.actorOf(Props[MyActor].withDispatcher(dispatcher), name = "myactor")
//#creating-props
myActor.stop()