git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1612457 13f79535-47bb-0310-9956-ffa450edef68
@@ -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;