You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ch...@apache.org on 2017/05/02 16:29:43 UTC
hbase git commit: HBASE-17862 Fix a condition that always returns true
Repository: hbase
Updated Branches:
refs/heads/master 17007685c -> c0f265384
HBASE-17862 Fix a condition that always returns true
Signed-off-by: Chia-Ping Tsai <ch...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c0f26538
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c0f26538
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c0f26538
Branch: refs/heads/master
Commit: c0f265384f09d5b36e2065083922ba428edef798
Parents: 1700768
Author: jc@lifove.net <jc...@lifove.net>
Authored: Mon May 1 23:21:40 2017 -0400
Committer: Chia-Ping Tsai <ch...@gmail.com>
Committed: Wed May 3 00:29:00 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/c0f26538/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 696f868..2ce9746 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
@@ -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();