[ 
https://issues.apache.org/jira/browse/HBASE-11005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-11005:
---------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

> 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
>            Assignee: Gustavo Anatoly
>            Priority: Trivial
>             Fix For: 0.99.0
>
>         Attachments: HBASE-11005.patch
>
>
> 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)

Reply via email to