You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "jun aoki (JIRA)" <ji...@apache.org> on 2015/11/15 19:44:11 UTC

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

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)