hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-10620) ZooKeeperHiveLock overrides equal() method but not hashcode()
Date Wed, 06 May 2015 03:57:00 GMT
Chaoyu Tang created HIVE-10620:
----------------------------------

             Summary: ZooKeeperHiveLock overrides equal() method but not hashcode()
                 Key: HIVE-10620
                 URL: https://issues.apache.org/jira/browse/HIVE-10620
             Project: Hive
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Chaoyu Tang
            Assignee: Chaoyu Tang


ZooKeeperHiveLock overrides the public boolean equals(Object o) method but does not for public
int hashCode(). It violates the Java contract that equal and may cause unexpected results.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message