diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 02144fba2c..4e25997871 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -653,6 +653,8 @@ Release 2.7.0 - UNRELEASED HADOOP-11283. SequenceFile.Writer can leak file descriptors in DistCpV1#setup(). (Varun Saxena via ozawa) + HADOOP-11448. Fix findbugs warnings in FileBasedIPList. (ozawa) + Release 2.6.0 - 2014-11-18 INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/FileBasedIPList.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/FileBasedIPList.java index dfa514a6a0..b0c12be731 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/FileBasedIPList.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/FileBasedIPList.java @@ -50,7 +50,7 @@ public class FileBasedIPList implements IPList { public FileBasedIPList(String fileName) { this.fileName = fileName; - String[] lines = new String[0]; + String[] lines; try { lines = readLines(fileName); } catch (IOException e) {