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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)