Make --format -exec pipeline more stateless

This commit is contained in:
Reinhard Pointner 2019-05-19 03:52:33 +07:00
parent 2838a8f976
commit 8b71eda926
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public class ExecCommand {
private IntStream executeSequence(Stream<MediaBindingBean> group) {
return group.map(v -> {
return template.stream().map(t -> getArgumentValue(t, v)).filter(Objects::nonNull).collect(toList());
}).distinct().mapToInt(this::execute);
}).mapToInt(this::execute);
}
private IntStream executeParallel(Stream<MediaBindingBean> group) {