add ActorRef.noSender() for the Java API, see #3429
- Actor.noSender is not accessible from Java, but it was in 2.1 so don’t remove - replaced all “null” in doc tests with ActorRef.noSender()
This commit is contained in:
parent
6c96485b26
commit
a2a646af4e
24 changed files with 92 additions and 79 deletions
|
|
@ -33,7 +33,7 @@ public class DurableMailboxDocTest {
|
|||
ActorRef myActor = system.actorOf(Props.create(MyUntypedActor.class).
|
||||
withDispatcher("my-dispatcher"), "myactor");
|
||||
//#dispatcher-config-use
|
||||
myActor.tell("test", null);
|
||||
myActor.tell("test", ActorRef.noSender());
|
||||
}
|
||||
|
||||
public static class MyUntypedActor extends UntypedActor {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue