You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2016/09/07 21:10:22 UTC

[jira] [Created] (FLINK-4595) Close FileOutputStream in ParameterTool

Alexander Pivovarov created FLINK-4595:
------------------------------------------

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