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 21:49:00 UTC

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

Mike Drob created HBASE-19922:
---------------------------------

             Summary: 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


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)