[jira] [Created] (FLINK-6375) Fix LongValue hashCode

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

[jira] [Created] (FLINK-6375) Fix LongValue hashCode

Shang Yuanchun (Jira)
Greg Hogan created FLINK-6375:
---------------------------------

             Summary: Fix LongValue hashCode
                 Key: FLINK-6375
                 URL: https://issues.apache.org/jira/browse/FLINK-6375
             Project: Flink
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.0.0
            Reporter: Greg Hogan
            Priority: Trivial


Match {{LongValue.hashCode}} to {{Long.hashCode}} (and the other numeric types) by simply adding the high and low words rather than shifting the hash by adding 43.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)