From 8bb370675abdbfc2b2fef439315d2fcfa80e3584 Mon Sep 17 00:00:00 2001 From: jboner Date: Mon, 30 Nov 2009 18:42:36 +0100 Subject: [PATCH] edit of logging --- akka-actors/src/main/scala/actor/Actor.scala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/akka-actors/src/main/scala/actor/Actor.scala b/akka-actors/src/main/scala/actor/Actor.scala index 695fc5198a..03153f2f19 100644 --- a/akka-actors/src/main/scala/actor/Actor.scala +++ b/akka-actors/src/main/scala/actor/Actor.scala @@ -552,7 +552,8 @@ trait Actor extends TransactionManagement { "\n\t\t1. Send a message to a remote actor" + "\n\t\t2. Send a message from an instance that is *not* an actor" + "\n\t\t3. Send a message to an Active Object annotated with the '@oneway' annotation? " + - "\n\tIf so, switch to '!!' (or remove '@oneway') which passes on an implicit future that will be bound by the argument passed to 'reply'." ) + "\n\tIf so, switch to '!!' (or remove '@oneway') which passes on an implicit future" + + "\n\tthat will be bound by the argument passed to 'reply'." ) case Some(future) => future.completeWithResult(message) } @@ -632,7 +633,8 @@ trait Actor extends TransactionManagement { */ protected[this] def unlink(actor: Actor) = { if (_isRunning) { - if (!getLinkedActors.contains(actor)) throw new IllegalStateException("Actor [" + actor + "] is not a linked actor, can't unlink") + if (!getLinkedActors.contains(actor)) throw new IllegalStateException( + "Actor [" + actor + "] is not a linked actor, can't unlink") getLinkedActors.remove(actor) actor._supervisor = None Actor.log.debug("Unlinking actor [%s] from actor [%s]", actor, this)