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

@ -104,11 +104,11 @@ object Pi extends App {
if (nrOfResults == nrOfMessages) self.stop()
}
override def preStart {
override def preStart() {
start = System.currentTimeMillis
}
override def postStop {
override def postStop() {
// tell the world that the calculation is complete
println(
"\n\tPi estimate: \t\t%s\n\tCalculation time: \t%s millis"