Removed pointless check for N/A as Actor ID

This commit is contained in:
Viktor Klang 2010-10-05 16:41:43 +02:00
parent 441387bd21
commit de7582434b

View file

@ -1312,7 +1312,6 @@ class LocalActorRef private[akka] (
actor.preStart // run actor preStart
Actor.log.trace("[%s] has started", toString)
ActorRegistry.register(this)
if (id == "N/A") id = actorClass.getName // if no name set, then use default name (class name)
clearTransactionSet // clear transaction set that might have been created if atomic block has been used within the Actor constructor body
}