Revert "closes #2019: Use parentheses for arity-0 methods which are not referentially transparent"
This reverts commit 8dbfbbe966.
This commit is contained in:
parent
1639028a78
commit
afd81d8506
40 changed files with 110 additions and 110 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue