hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13472) Replace primitive wrapper's valueOf method with parse* method to avoid unnecessary boxing/unboxing
Date Sun, 10 Apr 2016 12:36:25 GMT

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

Kousuke Saruta updated HIVE-13472:
----------------------------------
    Attachment:     (was: HIVE-13472.0.patch)

> 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)

Mime
View raw message