@ -188,6 +188,9 @@ public class HDFSResourceRepository extends BaseResourceRepository {
FileStatus[] statuses = fs.listStatus(new Path(dir), new PathFilter() {
@Override
public boolean accept(Path path) {
if (filter == null) {
return true;
}
return filter.accept(path.getName());
});