LoggingReceive with implicit ActorContext instead of ActorSystem. See #1720

This commit is contained in:
Patrik Nordwall 2012-01-26 10:58:35 +01:00
parent 519ce8a142
commit 52aa4f2a64
4 changed files with 13 additions and 17 deletions

View file

@ -61,7 +61,6 @@ object TestkitDocSpec {
class LoggingActor extends Actor {
//#logging-receive
import akka.event.LoggingReceive
implicit def system = context.system
def receive = LoggingReceive(this) {
case msg // Do something...
}