hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chia7...@apache.org
Subject hbase git commit: HBASE-17862 Fix a condition that always returns true
Date Tue, 02 May 2017 16:43:45 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 12415f8bd -> 8bfef58a4


HBASE-17862 Fix a condition that always returns true

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8bfef58a
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8bfef58a
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8bfef58a

Branch: refs/heads/branch-1.3
Commit: 8bfef58a4690abed1a201558282380b63efc708c
Parents: 12415f8
Author: jc@lifove.net <jc@lifove.net>
Authored: Mon May 1 23:21:40 2017 -0400
Committer: Chia-Ping Tsai <chia7712@gmail.com>
Committed: Wed May 3 00:43:26 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/8bfef58a/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();


Mime
View raw message