Skip to content

Commit

Permalink
[hotfix] [datastream] Remove irrelevant comments and fix typo in Sour…
Browse files Browse the repository at this point in the history
…ceStreamTask

This closes apache#7485.
  • Loading branch information
leesf authored and tzulitai committed Jan 15, 2019
1 parent e5e6274 commit baea9a3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ public SourceStreamTask(Environment env) {

@Override
protected void init() {
// does not hold any resources, so no initialization needed

// we check if the source is actually inducing the checkpoints, rather
// than the trigger ch
// than the trigger
SourceFunction<?> source = headOperator.getUserFunction();
if (source instanceof ExternallyInducedSource) {
externallyInducedCheckpoints = true;
Expand Down

0 comments on commit baea9a3

Please sign in to comment.