hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkris...@apache.org
Subject hbase git commit: HBASE-15253 Small bug in CellUtil.matchingRow(Cell, byte[]) (Ram)
Date Thu, 11 Feb 2016 16:21:42 GMT
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 <ramkrishna.s.vasudevan@gmail.com>
Authored: Thu Feb 11 21:49:41 2016 +0530
Committer: ramkrishna <ramkrishna.s.vasudevan@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);
   }


Mime
View raw message