You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2014/07/22 06:46:39 UTC
[jira] [Updated] (ZOOKEEPER-1979) Fix Performance Warnings found by
Findbugs 2.0.3
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-1979:
------------------------------------
Summary: Fix Performance Warnings found by Findbugs 2.0.3 (was: Fix Performance Warnings)
> Fix Performance Warnings found by Findbugs 2.0.3
> ------------------------------------------------
>
> Key: ZOOKEEPER-1979
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1979
> Project: ZooKeeper
> Issue Type: Sub-task
> Reporter: Hongchao Deng
> Assignee: Hongchao Deng
> Priority: Minor
> Fix For: 3.5.0
>
> Attachments: ZOOKEEPER-1979.patch
>
>
> findbugs complains that
> {code}
> new Integer(cnxToValue);
> {code}
> should be changed to
> {code}
> Integer.parseInt(cnxToValue);
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)