You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ra...@apache.org on 2016/02/11 17:21:42 UTC

hbase git commit: HBASE-15253 Small bug in CellUtil.matchingRow(Cell, byte[]) (Ram)

Repository: hbase
Updated Branches:
  refs/heads/master 29a192ef3 -> a975408b7


HBASE-15253 Small bug in CellUtil.matchingRow(Cell, byte[]) (Ram)


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

Branch: refs/heads/master
Commit: a975408b7c90e2d545a7a490687cddb717d43807
Parents: 29a192e
Author: ramkrishna <ra...@gmail.com>
Authored: Thu Feb 11 21:49:41 2016 +0530
Committer: ramkrishna <ra...@gmail.com>
Committed: Thu Feb 11 21:51:19 2016 +0530

----------------------------------------------------------------------
 hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a975408b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
index 7242791..85b3913 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
@@ -460,7 +460,7 @@ public final class CellUtil {
 
   public static boolean matchingRow(final Cell left, final byte[] buf) {
     if (buf == null) {
-      return left.getQualifierLength() == 0;
+      return left.getRowLength() == 0;
     }
     return matchingRow(left, buf, 0, buf.length);
   }