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

chunhui shen edited comment on HBASE-11093 at 4/29/14 5:10 AM:
---------------------------------------------------------------

Is it an improvement, rather than a bug?

Agree wtih comments ram mentioned:
"false == hasFilterRow " seems could be replaced with 
"!hasFilterRow.booleanValue()"
and reset it in reset() method



was (Author: zjushch):
Is it an improvement, rather than a bug?

As ram mentioned:
"false == hasFilterRow " seems could be replaced with 
"!hasFilterRow.booleanValue()"
and reset it in reset() method


> FilterList#filterRow() iterates through its filters even though 
> FilterList#hasFilterRow() returns false
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-11093
>                 URL: https://issues.apache.org/jira/browse/HBASE-11093
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 11093-v1.txt
>
>
> FilterList#hasFilterRow() returns false when hasFilterRow() of all of 
> constituent filters return false.
> However, FilterList#filterRow() still iterates through its filters in this 
> scenario.
> The iteration should be skipped when FilterList#hasFilterRow() returns false.



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

Reply via email to