Remove the deprecated variable localChildren (#4357)

Signed-off-by: Hao Ziyu <haoziyu@qiyi.com>
This commit is contained in:
hzy001 2017-08-25 04:27:34 +08:00 committed by Himanshu
parent 421e02203f
commit 4f61dc66a9
1 changed files with 0 additions and 2 deletions

View File

@ -48,7 +48,6 @@ import java.io.OutputStream;
import java.io.Reader;
import java.io.Writer;
import java.net.URI;
import java.util.ArrayList;
import java.util.concurrent.Callable;
/**
@ -194,7 +193,6 @@ public class HdfsDataSegmentPuller implements DataSegmentPuller, URIDataPuller
}
final RemoteIterator<LocatedFileStatus> children = fs.listFiles(path, false);
final ArrayList<FileUtils.FileCopyResult> localChildren = new ArrayList<>();
final FileUtils.FileCopyResult result = new FileUtils.FileCopyResult();
while (children.hasNext()) {
final LocatedFileStatus child = children.next();