You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/06/22 09:29:00 UTC

[jira] [Created] (FLINK-18406) Annotate DualKeyLinkedMap with @Nullable annotation

Till Rohrmann created FLINK-18406:
-------------------------------------

             Summary: 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
             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)