mirror of https://github.com/apache/druid.git
fix compile with java 8 (#14045)
This commit is contained in:
parent
5ee4ecee62
commit
a769f14652
|
@ -161,7 +161,7 @@ public class ExternalInputSpecSlicer implements InputSpecSlicer
|
|||
((SplittableInputSource<?>) splittableInputSource.withSplit((InputSplit) split))
|
||||
.createSplits(spec.getInputFormat(), FilePerSplitHintSpec.INSTANCE)
|
||||
.map(subSplit -> splittableInputSource.withSplit((InputSplit) subSplit))
|
||||
.forEach(subSources::add);
|
||||
.forEach(s -> ((List) subSources).add(s));
|
||||
}
|
||||
|
||||
if (subSources.isEmpty()) {
|
||||
|
|
Loading…
Reference in New Issue