Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 009A310D77 for ; Thu, 17 Apr 2014 20:46:08 +0000 (UTC) Received: (qmail 24880 invoked by uid 500); 17 Apr 2014 20:45:49 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 24753 invoked by uid 500); 17 Apr 2014 20:45:39 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 24557 invoked by uid 99); 17 Apr 2014 20:45:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 20:45:22 +0000 Date: Thu, 17 Apr 2014 20:45:22 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11005) Remove dead code in HalfStoreFileReader#getScanner#seekBefore() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)