You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2014/07/29 01:23:38 UTC

[jira] [Commented] (HBASE-11605) All classes that override equals should have a corresponding hashCode

    [ 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)