Ted Yu created HBASE-11005:
------------------------------
Summary: Remove dead code in
HalfStoreFileReader#getScanner#seekBefore()
Key: HBASE-11005
URL: https://issues.apache.org/jira/browse/HBASE-11005
Project: HBase
Issue Type: Bug
Reporter: Ted Yu
Priority: Trivial
Here is related code:
{code}
Cell fk = new KeyValue.KeyOnlyKeyValue(getFirstKey(), 0,
getFirstKey().length);
// This will be null when the file is empty in which we can not
// seekBefore to any key
if (fk == null)
return false;
{code}
fk wouldn't be null.
--
This message was sent by Atlassian JIRA
(v6.2#6252)