Javadoc modification: Changed system.actorOf(classOf[MyActor]) to system.actorOf(MyActor.class) to reflect Java syntax (instead of Scala).
This commit is contained in:
parent
23aa095964
commit
ddc4640007
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ object ActorSystem {
|
||||||
* system.actorOf(Props(new MyActor(...))
|
* system.actorOf(Props(new MyActor(...))
|
||||||
*
|
*
|
||||||
* // Java
|
* // Java
|
||||||
* system.actorOf(classOf[MyActor]);
|
* system.actorOf(MyActor.class);
|
||||||
* system.actorOf(Props(new Creator<MyActor>() {
|
* system.actorOf(Props(new Creator<MyActor>() {
|
||||||
* public MyActor create() { ... }
|
* public MyActor create() { ... }
|
||||||
* });
|
* });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue