[ https://issues.apache.org/jira/browse/FLINK-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15473456#comment-15473456 ]
ASF GitHub Bot commented on FLINK-4595: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/2478 > Close FileOutputStream in ParameterTool > --------------------------------------- > > Key: FLINK-4595 > URL: https://issues.apache.org/jira/browse/FLINK-4595 > Project: Flink > Issue Type: Bug > Components: Java API > Affects Versions: 1.1.2 > Reporter: Alexander Pivovarov > Priority: Trivial > > ParameterTool and ParameterToolTest do not close FileOutputStream > {code} > defaultProps.store(new FileOutputStream(file), "Default file created by > Flink's ParameterUtil.createPropertiesFile()"); > {code} > {code} > props.store(new FileOutputStream(propertiesFile), "Test properties"); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)