flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-1218) Don't use "new Integer". Use "Integer.valueOf" instead.
Date Wed, 05 Nov 2014 20:48:33 GMT
Kousuke Saruta created FLINK-1218:
-------------------------------------

             Summary: 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


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