#2396 - Removing the Props.apply(ActorContext => Actor.Receive) method as it is superceded by the ActorDSL

This commit is contained in:
Viktor Klang 2012-08-29 18:00:14 +02:00
parent f6079de381
commit 20881c777d
11 changed files with 43 additions and 45 deletions

View file

@ -74,11 +74,6 @@ object Props {
* using the supplied thunk.
*/
def apply(creator: Creator[_ <: Actor]): Props = default.withCreator(creator.create)
/**
* Returns a new Props whose creator will instantiate an Actor that has the behavior specified
*/
def apply(behavior: ActorContext Actor.Receive): Props = apply(new Actor { def receive = behavior(context) })
}
/**