HBASE-17862 Fix a condition that always returns true

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
jc@lifove.net 2017-05-01 23:21:40 -04:00 committed by Chia-Ping Tsai
parent 17007685c1
commit c0f265384f
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ public class ColumnPaginationFilter extends FilterBase {
ColumnPaginationFilter other = (ColumnPaginationFilter)o;
if (this.columnOffset != null) {
return this.getLimit() == this.getLimit() &&
return this.getLimit() == other.getLimit() &&
Bytes.equals(this.getColumnOffset(), other.getColumnOffset());
}
return this.getLimit() == other.getLimit() && this.getOffset() == other.getOffset();