hive-issues mailing list archives

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

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

Ashutosh Chauhan updated HIVE-13472:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks, [~sarutak]

> 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
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13472.0.patch
>
>
> 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