HBASE-17862 Fix a condition that always returns true
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
262c66f614
commit
3a3cb48e2b
|
@ -219,7 +219,7 @@ public class ColumnPaginationFilter extends FilterBase
|
||||||
|
|
||||||
ColumnPaginationFilter other = (ColumnPaginationFilter)o;
|
ColumnPaginationFilter other = (ColumnPaginationFilter)o;
|
||||||
if (this.columnOffset != null) {
|
if (this.columnOffset != null) {
|
||||||
return this.getLimit() == this.getLimit() &&
|
return this.getLimit() == other.getLimit() &&
|
||||||
Bytes.equals(this.getColumnOffset(), other.getColumnOffset());
|
Bytes.equals(this.getColumnOffset(), other.getColumnOffset());
|
||||||
}
|
}
|
||||||
return this.getLimit() == other.getLimit() && this.getOffset() == other.getOffset();
|
return this.getLimit() == other.getLimit() && this.getOffset() == other.getOffset();
|
||||||
|
|
Loading…
Reference in New Issue