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

Ted Yu commented on HBASE-21129:
--------------------------------

For FamilyFilter.java, hashCode is dropped. This is because we are using 
CompareFilter's hashCode ?

For FirstKeyOnlyFilter.java and MobReferenceOnlyFilter, you add equals(). 
Please add hashCode as well.

Thanks for the cleanup.


> Clean up duplicate codes in #equals and #hashCode methods of Filter
> -------------------------------------------------------------------
>
>                 Key: HBASE-21129
>                 URL: https://issues.apache.org/jira/browse/HBASE-21129
>             Project: HBase
>          Issue Type: Improvement
>          Components: Filters
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Reid Chan
>            Assignee: Reid Chan
>            Priority: Minor
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: HBASE-21129.master.001.patch
>
>
> It is a follow-up of HBASE-19008, aiming to clean up duplicate codes in 
> #equals and #hashCode methods. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to