closes #2019: Use parentheses for arity-0 methods which are not referentially transparent

This commit is contained in:
Heiko Seeberger 2012-04-24 16:38:21 +02:00
parent 1f30be1f87
commit 8dbfbbe966
40 changed files with 110 additions and 110 deletions

View file

@ -191,7 +191,7 @@ object MessageDispatcher {
val c = println(d + " inhabitants: " + d.inhabitants)
a actors.valueIterator(d)
} {
val status = if (a.isTerminated) " (terminated)" else " (alive)"
val status = if (a.isTerminated()) " (terminated)" else " (alive)"
val messages = a match {
case l: LocalActorRef " " + l.underlying.mailbox.numberOfMessages + " messages"
case _ " " + a.getClass