HBASE-17862 Fix a condition that always returns true
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
17007685c1
commit
c0f265384f
|
@ -207,7 +207,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