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

Ted Yu commented on HBASE-19008:
--------------------------------

{code}
[ERROR] 
/testptch/hbase/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnRangeFilter.java:[250,24]
 [ArrayHashCode] hashcode method on array does not hash array contents
    (see http://errorprone.info/bugpattern/ArrayHashCode)
  Did you mean 'return Objects.hash(Arrays.hashCode(this.getMinColumn()), 
this.getMinColumnInclusive(), Arrays.hashCode(this.getMaxColumn()),'?
{code}
Please address what errorprone found.

> Add missing equals or hashCode method(s) to stock Filter implementations
> ------------------------------------------------------------------------
>
>                 Key: HBASE-19008
>                 URL: https://issues.apache.org/jira/browse/HBASE-19008
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: liubangchen
>            Priority: Major
>              Labels: filter
>         Attachments: Filters.png, HBASE-19008-1.patch, HBASE-19008-2.patch, 
> HBASE-19008-3.patch, HBASE-19008.patch
>
>
> In HBASE-15410, [~mdrob] reminded me that Filter implementations may not 
> write {{equals}} or {{hashCode}} method(s).
> This issue is to add missing {{equals}} or {{hashCode}} method(s) to stock 
> Filter implementations such as KeyOnlyFilter.



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

Reply via email to