[ https://issues.apache.org/jira/browse/FLINK-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-4595. ----------------------------------- Resolution: Fixed Fixed in 920cda408f61a27f0b1731325b62bf141dd4b530 > 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)