use of org.apache.flink.core.fs.local.LocalFileStatus in project flink by apache.
the class TestFileSystem method listStatus.
@Override
public FileStatus[] listStatus(Path f) throws IOException {
FileStatus[] stati = super.listStatus(f);
LocalFileStatus[] newStati = new LocalFileStatus[stati.length];
for (int i = 0; i < stati.length; i++) {
newStati[i] = new LocalFileStatus(((LocalFileStatus) stati[i]).getFile(), this);
}
return newStati;
}
Aggregations