[
https://issues.apache.org/jira/browse/HBASE-13630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14532822#comment-14532822
]
ramkrishna.s.vasudevan commented on HBASE-13630:
------------------------------------------------
{code}
<BugInstance type="NP_ALWAYS_NULL" priority="1" abbrev="NP"
category="CORRECTNESS">
<Class
classname="org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder$BufferedEncodedSeeker">
<SourceLine
classname="org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder$BufferedEncodedSeeker"
start="545" end="867" sourcefile="BufferedDataBlockEncoder.java"
sourcepath="org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java"/>
</Class>
<Method
classname="org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder$BufferedEncodedSeeker"
name="seekToKeyInBlock" signature="(Lorg/apache/hadoop/hbase/Cell;Z)I"
isStatic="false">
<SourceLine
classname="org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder$BufferedEncodedSeeker"
start="696" end="801" startBytecode="0" endBytecode="833"
sourcefile="BufferedDataBlockEncoder.java"
sourcepath="org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java"/>
</Method>
<Field
classname="org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder$BufferedEncodedSeeker"
name="comparator" signature="Lorg/apache/hadoop/hbase/CellComparator;"
isStatic="false" role="FIELD_VALUE_OF">
<SourceLine
classname="org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder$BufferedEncodedSeeker"
sourcefile="BufferedDataBlockEncoder.java"
sourcepath="org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java"/>
</Field>
<SourceLine
classname="org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder$BufferedEncodedSeeker"
start="764" end="764" startBytecode="309" endBytecode="309"
sourcefile="BufferedDataBlockEncoder.java"
sourcepath="org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java"
role="SOURCE_LINE_DEREF"/>
</BugInstance>
{code}
I checked by reverting the patch. It is referring to the line number before
this patch.
> Remove dead code in BufferedDataEncoder
> ---------------------------------------
>
> Key: HBASE-13630
> URL: https://issues.apache.org/jira/browse/HBASE-13630
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Priority: Minor
> Attachments: HBASE-13630.patch
>
>
> Remove the dead code pointed out in HBASE-10800 as part of high prioirty
> findbugs.
> https://issues.apache.org/jira/browse/HBASE-10800?focusedCommentId=14529659&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14529659
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)