[jira] [Created] (FLINK-3012) Refactor boilerplate code of while and if statements in DataSourceTask

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-3012) Refactor boilerplate code of while and if statements in DataSourceTask

Shang Yuanchun (Jira)
jun aoki created FLINK-3012:
-------------------------------

             Summary: Refactor boilerplate code of while and if statements in DataSourceTask
                 Key: FLINK-3012
                 URL: https://issues.apache.org/jira/browse/FLINK-3012
             Project: Flink
          Issue Type: Improvement
            Reporter: jun aoki
            Priority: Trivial


Part of DataSourceTask code seems repetitive.
https://github.com/jaoki/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/operators/DataSourceTask.java#L153-L173

The same 'while', 'if' and createInstance() shows up.
This ticket to refactor it to avoid the boilerplate code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)