=doc #3689 Don't rewrite arrows in doc and samples
This commit is contained in:
parent
37f8f2831b
commit
5a019c0a7a
61 changed files with 531 additions and 517 deletions
|
|
@ -12,7 +12,7 @@ object Greeter {
|
|||
|
||||
class Greeter extends Actor {
|
||||
def receive = {
|
||||
case Greeter.Greet ⇒
|
||||
case Greeter.Greet =>
|
||||
println("Hello World!")
|
||||
sender ! Greeter.Done
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue