You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2016/04/10 12:02:25 UTC

[jira] [Created] (HIVE-13472) Replace primitive wrapper's valueOf method with parse* method to avoid unnecessary boxing/unboxing

Kousuke Saruta created HIVE-13472:
-------------------------------------

             Summary: Replace primitive wrapper's valueOf method with parse* method to avoid unnecessary boxing/unboxing
                 Key: HIVE-13472
                 URL: https://issues.apache.org/jira/browse/HIVE-13472
             Project: Hive
          Issue Type: Improvement
          Components: Hive
    Affects Versions: 2.1.0
            Reporter: Kousuke Saruta
            Assignee: Kousuke Saruta


There are lots of primitive wrapper's valueOf method which should be replaced with parseXX method.

For example, Integer.valueOf(String) returns Integer type but Integer.parseInt(String) returns primitive int type so we can avoid unnecessary boxing/unboxing by replacing some of them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)