You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2014/11/14 11:02:33 UTC

[jira] [Resolved] (FLINK-1218) Don't use "new Integer". Use "Integer.valueOf" instead.

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

Ufuk Celebi resolved FLINK-1218.
--------------------------------
    Resolution: Fixed

Fixed in c339c266f3c40987b1251a70b1c4a1d4a62001c1.

> Don't use "new Integer". Use "Integer.valueOf" instead.
> -------------------------------------------------------
>
>                 Key: FLINK-1218
>                 URL: https://issues.apache.org/jira/browse/FLINK-1218
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 0.8-incubating
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>
> There are lots of "new Integer" or something line it in the code.
> We should use valueOf to avoid wasted instance creation.



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