hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11005) Remove dead code in HalfStoreFileReader#getScanner#seekBefore()
Date Wed, 16 Apr 2014 16:50:17 GMT
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)

Mime
View raw message