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 262c66f614
commit 3a3cb48e2b
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,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();