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

This commit is contained in:
ramkrishna 2016-02-11 21:49:41 +05:30
parent 29a192ef3c
commit a975408b7c
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ public final class CellUtil {
public static boolean matchingRow(final Cell left, final byte[] buf) { public static boolean matchingRow(final Cell left, final byte[] buf) {
if (buf == null) { if (buf == null) {
return left.getQualifierLength() == 0; return left.getRowLength() == 0;
} }
return matchingRow(left, buf, 0, buf.length); return matchingRow(left, buf, 0, buf.length);
} }