kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-2975) Unclosed Statement in test
Date Tue, 30 Jan 2018 05:09:00 GMT

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

Billy Liu updated KYLIN-2975:
-----------------------------
    Issue Type: Improvement  (was: Test)

> Unclosed Statement in test
> --------------------------
>
>                 Key: KYLIN-2975
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2975
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Shengping
>            Priority: Minor
>             Fix For: v2.3.0
>
>         Attachments: KYLIN-2975.patch
>
>
> Some Statement resource is not closed in tests.
> e.g. from QuerACLTestUtil.java :
> {code}
>         Statement statement = conn.createStatement();
>         return statement.executeQuery(sql);
> {code}
> The statement should be closed after use.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message