Repository: hbase Updated Branches: refs/heads/branch-1.2 66e2aa9d9 -> dfd07710c
HBASE-17862 Fix a condition that always returns true Signed-off-by: Chia-Ping Tsai <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/dfd07710 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/dfd07710 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/dfd07710 Branch: refs/heads/branch-1.2 Commit: dfd07710c53c5488d24ccdb3e67f82c6969f78f4 Parents: 66e2aa9 Author: [email protected] <[email protected]> Authored: Mon May 1 23:21:40 2017 -0400 Committer: Chia-Ping Tsai <[email protected]> Committed: Wed May 3 00:35:15 2017 +0800 ---------------------------------------------------------------------- .../org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/dfd07710/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java ---------------------------------------------------------------------- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java index 14ccacb..6f297fb 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java @@ -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();
