flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Metzger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1218) Don't use "new Integer". Use "Integer.valueOf" instead.
Date Mon, 10 Nov 2014 09:50:33 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204570#comment-14204570
] 

Robert Metzger commented on FLINK-1218:
---------------------------------------

Hey [~sarutak], I gave you "Contributor" perms in JIRA so that you can assign yourself to
issues.

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

Mime
View raw message