Removed Actor.send function

This commit is contained in:
Jonas Bonér 2010-03-30 23:58:50 +02:00
parent 7cf13c7715
commit 19879f3605
11 changed files with 40 additions and 40 deletions

View file

@ -49,7 +49,7 @@ trait Dispatcher { self: Actor =>
protected def dispatch: PartialFunction[Any, Unit] = {
case a if routes.isDefinedAt(a) =>
if (self.sender.isDefined) routes(a) forward transform(a)
else routes(a) send transform(a)
else routes(a) ! transform(a)
}
def receive = dispatch