Added parens to override of preStart and postStop

This commit is contained in:
Patrik Nordwall 2011-04-26 20:31:08 +02:00
parent d0447c76cb
commit bce7d176f4
18 changed files with 36 additions and 36 deletions

View file

@ -111,7 +111,7 @@ object Pi extends App {
def receive = scatter
// when we are stopped, stop our team of workers and our router
override def postStop {
override def postStop() {
// send a PoisonPill to all workers telling them to shut down themselves
router ! Broadcast(PoisonPill)
// send a PoisonPill to the router, telling him to shut himself down