You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2018/02/02 22:01:00 UTC

[jira] [Updated] (HBASE-19922) ProtobufUtils::PRIMITIVES is unused

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

Mike Drob updated HBASE-19922:
------------------------------
    Attachment: HBASE-19922.patch

> ProtobufUtils::PRIMITIVES is unused
> -----------------------------------
>
>                 Key: HBASE-19922
>                 URL: https://issues.apache.org/jira/browse/HBASE-19922
>             Project: HBase
>          Issue Type: Task
>          Components: Protobufs
>            Reporter: Mike Drob
>            Priority: Major
>             Fix For: 2.0
>
>         Attachments: HBASE-19922.patch
>
>
> It looks like ProtobufUtils::PRIMITIVES is never read in both the shaded and non-shaded versions of the class. Is it safe to remove?
> https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java#L128
> We populate the map in a static initializer but never read any values from it...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)