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

This reverts commit 8dbfbbe966.
This commit is contained in:
Roland 2012-05-03 21:14:47 +02:00
parent 1639028a78
commit afd81d8506
40 changed files with 110 additions and 110 deletions

View file

@ -65,7 +65,7 @@ class TestActorRef[T <: Actor](
*/
def underlyingActor: T = {
// volatile mailbox read to bring in actor field
if (isTerminated()) throw new IllegalActorStateException("underlying actor is terminated")
if (isTerminated) throw new IllegalActorStateException("underlying actor is terminated")
underlying.actor.asInstanceOf[T] match {
case null
val t = TestKitExtension(_system).DefaultTimeout