flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shijinkui (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-5167) StreamExecutionEnvironment's set function return `this` instead of void
Date Sat, 26 Nov 2016 00:21:58 GMT
shijinkui created FLINK-5167:
--------------------------------

             Summary: StreamExecutionEnvironment's set function return `this` instead of void
                 Key: FLINK-5167
                 URL: https://issues.apache.org/jira/browse/FLINK-5167
             Project: Flink
          Issue Type: Bug
          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)

Mime
View raw message