[
https://issues.apache.org/jira/browse/FLINK-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephan Ewen resolved FLINK-3196.
---------------------------------
Resolution: Fixed
Assignee: Suneel Marthi
Fix Version/s: 1.0.0
Fixed via f6d2ce91eccb92ab7e4c63dd799d7e0f6a9df9bf
Thank you for the contribution!
> InputStream should be closed in
> EnvironmentInformation#getRevisionInformation()
> -------------------------------------------------------------------------------
>
> Key: FLINK-3196
> URL: https://issues.apache.org/jira/browse/FLINK-3196
> Project: Flink
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Suneel Marthi
> Priority: Minor
> Fix For: 1.0.0
>
>
> Here is related code:
> {code}
> InputStream propFile =
> EnvironmentInformation.class.getClassLoader().getResourceAsStream(".version.properties");
> if (propFile != null) {
> Properties properties = new Properties();
> properties.load(propFile);
> {code}
> propFile should be closed upon leaving the method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)