[
https://issues.apache.org/jira/browse/FLINK-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15473398#comment-15473398
]
ASF GitHub Bot commented on FLINK-4595:
---------------------------------------
Github user zentol commented on the issue:
https://github.com/apache/flink/pull/2478
+1, will merge it later on.
> 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)