mirror of https://github.com/apache/druid.git
Remove the deprecated variable localChildren (#4357)
Signed-off-by: Hao Ziyu <haoziyu@qiyi.com>
This commit is contained in:
parent
421e02203f
commit
4f61dc66a9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue