Refactoring the use of !! to ?+.get for Akka internal code

This commit is contained in:
Viktor Klang 2011-06-13 15:29:35 +02:00
parent 6ddee70e0b
commit 9c1a50ba2c
11 changed files with 34 additions and 34 deletions

View file

@ -60,7 +60,7 @@ class PinnedActorSpec extends JUnitSuite {
def shouldSendReceiveException = {
val actor = actorOf[TestActor].start()
try {
actor !! "Failure"
(actor ? "Failure").get
fail("Should have thrown an exception")
} catch {
case e