Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/394#discussion_r24716021
  
    --- Diff: 
flink-runtime/src/test/java/org/apache/flink/runtime/taskmanager/TaskManagerTest.java
 ---
    @@ -486,7 +489,8 @@ protected void run() {
                public void onReceive(Object message) throws Exception {
                        if(message instanceof 
RegistrationMessages.RegisterTaskManager){
                                final InstanceID iid = new InstanceID();
    -                           getSender().tell(new 
RegistrationMessages.AcknowledgeRegistration(iid, -1),
    +                           getSender().tell(new 
RegistrationMessages.AcknowledgeRegistration(iid, -1,
    +                                                           
Option.<ActorRef>apply(null)),
    --- End diff --
    
    That was the only way I found to create a ```None``` with type parameter 
```ActorRef``` in Java. ```None``` itself in Java has no type parameter.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to