You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by zh...@apache.org on 2014/12/29 19:40:18 UTC
[6/6] hadoop git commit: HADOOP-11448. Fix findbugs warnings in
FileBasedIPList. (ozawa)
HADOOP-11448. Fix findbugs warnings in FileBasedIPList. (ozawa)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ce53848a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ce53848a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ce53848a
Branch: refs/heads/HDFS-EC
Commit: ce53848a6e325a9e46b880c18e75d2ab2841248d
Parents: ce449af
Author: Tsuyoshi Ozawa <oz...@apache.org>
Authored: Fri Dec 26 15:20:24 2014 +0900
Committer: Zhe Zhang <zh...@apache.org>
Committed: Mon Dec 29 10:34:38 2014 -0800
----------------------------------------------------------------------
hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++
.../src/main/java/org/apache/hadoop/util/FileBasedIPList.java | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/ce53848a/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 02144fb..4e25997 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
http://git-wip-us.apache.org/repos/asf/hadoop/blob/ce53848a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/FileBasedIPList.java
----------------------------------------------------------------------
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 dfa514a..b0c12be 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) {