You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2017/01/22 03:01:26 UTC

[jira] [Assigned] (KYLIN-2391) Unclosed FileInputStream in KylinConfig#getConfigAsString()

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

Shaofeng SHI reassigned KYLIN-2391:
-----------------------------------

    Assignee: Shaofeng SHI

> Unclosed FileInputStream in KylinConfig#getConfigAsString()
> -----------------------------------------------------------
>
>                 Key: KYLIN-2391
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2391
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Shaofeng SHI
>            Priority: Minor
>
> {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.4#6332)