kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (KYLIN-3586) Boxing/unboxing to parse a primitive is suboptimal
Date Tue, 25 Sep 2018 01:02:00 GMT


ASF GitHub Bot commented on KYLIN-3586:

caolijun1166 opened a new pull request #245: KYLIN-3586
   Solve KYLIN-3586: Use parseInt() to parse a primitive instead of to use boxing/unboxing

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Boxing/unboxing to parse a primitive is suboptimal
> --------------------------------------------------
>                 Key: KYLIN-3586
>                 URL:
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Lijun Cao
>            Priority: Major
> An example is from HBaseLookupRowEncoder:
> {code}
>             int valIdx = Integer.valueOf(Bytes.toString(qualifier));
> {code}
> valueOf returns an Integer object which would be unboxed and assigned to valIdx.
> Integer.parseInt() should be used instead.

This message was sent by Atlassian JIRA

View raw message