Skip to content

Commit

Permalink
more tidy up for chapter 13
Browse files Browse the repository at this point in the history
  • Loading branch information
timperrett committed Aug 29, 2011
1 parent d208df9 commit 8997080
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chapter-13/src/main/scala/sample/comet/Calculator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ class Calculator extends Actor {
case "*" => a * b
case "+" => a + b
case "/" => a / b
case _ => println("Unknown type of maths fool!"); 0D
case _ =>
println("Unknown type of maths!")
0D
}
self.reply(result)
}
Expand Down

0 comments on commit 8997080

Please sign in to comment.