[ 
https://issues.apache.org/jira/browse/FLINK-18406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17142651#comment-17142651
 ] 

Zhu Zhu commented on FLINK-18406:
---------------------------------

Well I see that @Nullable annotations are still good to have, considering the 
case to query via a non-existent input key.

> Annotate DualKeyLinkedMap with @Nullable annotation
> ---------------------------------------------------
>
>                 Key: FLINK-18406
>                 URL: https://issues.apache.org/jira/browse/FLINK-18406
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>    Affects Versions: 1.11.0, 1.12.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> In order to avoid wrong usage of {{DualKeyLinkedMap}} I think we should 
> annotate those methods which can return a {{null}} value. That way, the IDE 
> can help highlighting were we access values without proper null checks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to