diff options
Diffstat (limited to 'kamon-playground/src')
-rw-r--r-- | kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala index 53cd28ff..3afef0ca 100644 --- a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala +++ b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala @@ -126,10 +126,10 @@ class Replier extends Actor with ActorLogging { object PingPong extends App { val system = ActorSystem() val pinger = system.actorOf(Props(new Actor { - def receive: Actor.Receive = { case "pong" => sender ! "ping" } + def receive: Actor.Receive = { case "pong" ⇒ sender ! "ping" } })) val ponger = system.actorOf(Props(new Actor { - def receive: Actor.Receive = { case "ping" => sender ! "pong" } + def receive: Actor.Receive = { case "ping" ⇒ sender ! "pong" } })) pinger.tell("pong", ponger) |