hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11605) All classes that override equals should have a corresponding hashCode
Date Mon, 28 Jul 2014 23:23:38 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077116#comment-14077116
] 

Mike Drob commented on HBASE-11605:
-----------------------------------

I think this was fixed in later versions with HBASE-11463, along with several other classes.
Should be straightforward to back-port.

> All classes that override equals should have a corresponding hashCode
> ---------------------------------------------------------------------
>
>                 Key: HBASE-11605
>                 URL: https://issues.apache.org/jira/browse/HBASE-11605
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.4
>            Reporter: Jeffrey Shmain
>            Priority: Trivial
>         Attachments: hbase-v0.patch
>
>
> I was looking at this link:
> https://analysis.apache.org/drilldown/issues/71923?&rule=findbugs%3AHE_EQUALS_USE_HASHCODE&rule_sev=CRITICAL
> And some classes that define equals do not define hashCode, which is not the best practice.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message