=doc #3689 Don't rewrite arrows in doc and samples

This commit is contained in:
Patrik Nordwall 2013-12-03 16:34:26 +01:00
parent 37f8f2831b
commit 5a019c0a7a
61 changed files with 531 additions and 517 deletions

View file

@ -12,7 +12,7 @@ object Greeter {
class Greeter extends Actor {
def receive = {
case Greeter.Greet
case Greeter.Greet =>
println("Hello World!")
sender ! Greeter.Done
}

View file

@ -17,7 +17,7 @@ class HelloWorld extends Actor {
def receive = {
// when the greeter is done, stop this actor and with it the application
case Greeter.Done context.stop(self)
case Greeter.Done => context.stop(self)
}
}

View file

@ -21,7 +21,7 @@ object Main2 {
class Terminator(ref: ActorRef) extends Actor with ActorLogging {
context watch ref
def receive = {
case Terminated(_)
case Terminated(_) =>
log.info("{} has terminated, shutting down system", ref.path)
context.system.shutdown()
}