HADOOP-11448. Fix findbugs warnings in FileBasedIPList. (ozawa)
This commit is contained in:
parent
a164ce2ac9
commit
399d25884a
@ -653,6 +653,8 @@ Release 2.7.0 - UNRELEASED
|
|||||||
HADOOP-11283. SequenceFile.Writer can leak file descriptors in
|
HADOOP-11283. SequenceFile.Writer can leak file descriptors in
|
||||||
DistCpV1#setup(). (Varun Saxena via ozawa)
|
DistCpV1#setup(). (Varun Saxena via ozawa)
|
||||||
|
|
||||||
|
HADOOP-11448. Fix findbugs warnings in FileBasedIPList. (ozawa)
|
||||||
|
|
||||||
Release 2.6.0 - 2014-11-18
|
Release 2.6.0 - 2014-11-18
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -50,7 +50,7 @@ public class FileBasedIPList implements IPList {
|
|||||||
|
|
||||||
public FileBasedIPList(String fileName) {
|
public FileBasedIPList(String fileName) {
|
||||||
this.fileName = fileName;
|
this.fileName = fileName;
|
||||||
String[] lines = new String[0];
|
String[] lines;
|
||||||
try {
|
try {
|
||||||
lines = readLines(fileName);
|
lines = readLines(fileName);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user