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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)