Remove unnecessary Hadoop listLocatedStatus shim
@@ -20,8 +20,6 @@ import org.apache.hadoop.fs.RemoteIterator;
import java.io.IOException;
-import static com.facebook.presto.hadoop.HadoopFileSystem.listLocatedStatus;
-
public class HadoopDirectoryLister
implements DirectoryLister
{
@@ -29,6 +27,6 @@ public class HadoopDirectoryLister
public RemoteIterator<LocatedFileStatus> list(FileSystem fs, Path path)
throws IOException
{
- return listLocatedStatus(fs, path);
+ return fs.listLocatedStatus(path);
}
}
