[jira] [Created] (FLINK-5175) StreamExecutionEnvironment's set function return `this` instead of void

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

[jira] [Created] (FLINK-5175) StreamExecutionEnvironment's set function return `this` instead of void

Shang Yuanchun (Jira)
shijinkui created FLINK-5175:
--------------------------------

             Summary: StreamExecutionEnvironment's set function return `this` instead of void
                 Key: FLINK-5175
                 URL: https://issues.apache.org/jira/browse/FLINK-5175
             Project: Flink
          Issue Type: Sub-task
          Components: DataStream API
            Reporter: shijinkui


for example :
public void setNumberOfExecutionRetries(int numberOfExecutionRetries)
{ config.setNumberOfExecutionRetries(numberOfExecutionRetries); }
change to:
public StreamExecutionEnvironment setNumberOfExecutionRetries(int numberOfExecutionRetries)
{ config.setNumberOfExecutionRetries(numberOfExecutionRetries); return this; }



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