Commit 1d3550e8 authored by Patrick D. Hunt's avatar Patrick D. Hunt
Browse files

ZOOKEEPER-1979. Fix Performance Warnings found by Findbugs 2.0.3 (Hongchao Deng via phunt)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1612457 13f79535-47bb-0310-9956-ffa450edef68
parent c9647b57
......@@ -720,6 +720,9 @@ BUGFIXES:
ZOOKEEPER-1975. Turn off "internationalization warnings" in findbugs
exclude file (phunt)
ZOOKEEPER-1979. Fix Performance Warnings found by Findbugs 2.0.3
(Hongchao Deng via phunt)
IMPROVEMENTS:
ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,
......
......@@ -144,7 +144,7 @@ public class QuorumCnxManager {
String cnxToValue = System.getProperty("zookeeper.cnxTimeout");
if(cnxToValue != null){
this.cnxTO = new Integer(cnxToValue);
this.cnxTO = Integer.parseInt(cnxToValue);
}
this.self = self;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment