[ 
https://issues.apache.org/jira/browse/KYLIN-2391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shaofeng SHI resolved KYLIN-2391.
---------------------------------
    Resolution: Fixed

> Unclosed FileInputStream in KylinConfig#getConfigAsString()
> -----------------------------------------------------------
>
>                 Key: KYLIN-2391
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2391
>             Project: Kylin
>          Issue Type: Bug
>          Components: General
>            Reporter: Ted Yu
>            Assignee: Shaofeng SHI
>            Priority: Minor
>             Fix For: v2.0.0
>
>
> {code}
>         OrderedProperties orderedProperties = new OrderedProperties();
>         orderedProperties.load(new FileInputStream(propertiesFile));
> {code}
> The stream created by FileInputStream should be closed upon return.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to