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

[jira] [Created] (FLINK-19208) Refine the tuple's equals

darion yaphet created FLINK-19208:
-------------------------------------

             Summary: Refine the tuple's equals
                 Key: FLINK-19208
                 URL: https://issues.apache.org/jira/browse/FLINK-19208
             Project: Flink
          Issue Type: Improvement
          Components: API / Core
            Reporter: darion yaphet


When we check the tuple is equal, f0 != null ? !f0.equals(tuple.f0) : tuple.f0 != null could refine to  !Objects.equals(f0, tuple.f0) which make code more readable.



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