Skip to content

Commit

Permalink
Remove full package name for FlatMapOperatorBase
Browse files Browse the repository at this point in the history
Simple code cleanup to remove full package name for FlatMapOperatorBase for FlatMapOperator#translateToDataFlow method

Author: Henry Saputra <[email protected]>

Closes apache#272 from hsaputra/remove_packagepath_flatmapoperatorbase and squashes the following commits:

8ce5abd [Henry Saputra] Remove full package name for FlatMapOperatorBase for FlatMapOperator#translateToDataFlow method.
  • Loading branch information
hsaputra committed Jan 5, 2015
1 parent 4895131 commit 24c4736
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ public FlatMapOperator(DataSet<IN> input, TypeInformation<OUT> resultType, FlatM
}

@Override
protected org.apache.flink.api.common.operators.base.FlatMapOperatorBase<IN, OUT, FlatMapFunction<IN,OUT>> translateToDataFlow(Operator<IN> input) {

protected FlatMapOperatorBase<IN, OUT, FlatMapFunction<IN,OUT>> translateToDataFlow(Operator<IN> input) {
String name = getName() != null ? getName() : "FlatMap at "+defaultName;
// create operator
FlatMapOperatorBase<IN, OUT, FlatMapFunction<IN, OUT>> po = new FlatMapOperatorBase<IN, OUT, FlatMapFunction<IN, OUT>>(function, new UnaryOperatorInformation<IN, OUT>(getInputType(), getResultType()), name);
Expand Down

0 comments on commit 24c4736

Please sign in to comment.