[ 
https://issues.apache.org/jira/browse/FLINK-5167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15701412#comment-15701412
 ] 

ASF GitHub Bot commented on FLINK-5167:
---------------------------------------

Github user fhueske commented on the issue:

    https://github.com/apache/flink/pull/2874
  
    Thanks for the proposal @shijinkui. I agree that the changes might improve 
the usability a bit for some users. However, the improvements are not 
significant enough to break the API, IMO.
    
    I'll close this PR and the issue.
    Thanks, Fabian
    



> 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)

Reply via email to