Skip to content

Commit

Permalink
[euphoria-flink] #260 small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mareksimunek committed Feb 13, 2018
1 parent 2025c75 commit c26a27b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ public BatchFlowTranslator(Settings settings,
this.accumulatorFactory = Objects.requireNonNull(accumulatorFactory);

// basic operators
Translation.add(translations, FlowUnfolder.InputOperator.class, new InputTranslator
(splitAssignerFactory));
Translation.add(translations, FlowUnfolder.InputOperator.class, new InputTranslator(
splitAssignerFactory));
Translation.add(translations, FlatMap.class, new FlatMapTranslator());
Translation.add(translations, ReduceStateByKey.class, new ReduceStateByKeyTranslator());
Translation.add(translations, Union.class, new UnionTranslator());
Expand Down Expand Up @@ -158,8 +158,8 @@ public List<DataSink<?>> translateInto(Flow flow) {
}
// ~ verify the flowToDag translation
Translation<Operator<?, ?>> firstMatch = null;
for (Translation tx : txs) {
if (tx.accept == null || (boolean)tx.accept.apply(originalOp)) {
for (Translation<Operator<?, ?>> tx : txs) {
if (tx.accept == null || tx.accept.apply(originalOp)) {
firstMatch = tx;
break;
}
Expand Down

0 comments on commit c26a27b

Please sign in to comment.