GitHub user jaoki opened a pull request:
https://github.com/apache/flink/pull/1355
[FLINK-3012] Refactor boilerplate code in DataSourceTask
Refactor repetitive and boilerplate code of while and if statements in
DataSourceTask
The previous if and else nest and to control the timing to instantiate
'reuse' and the new code emphasizes the point.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jaoki/flink
refactor-DataSourceTask-around-calling-nextRecord
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1355.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1355
----
commit a9c399920ada0147e6e787f8630a77ee3809f257
Author: jaoki <[email protected]>
Date: 2015-11-15T18:34:07Z
Refactor boilerplate code in DataSourceTask
Refactor boilerplate code of while and if statements in DataSourceTask
The previous if and else nest was to control the timing to instantiate
'reuse'.
And the new code emphasizes the point.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---