HBASE-15253 Small bug in CellUtil.matchingRow(Cell, byte[]) (Ram)
This commit is contained in:
parent
29a192ef3c
commit
a975408b7c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue