You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/12/07 20:03:10 UTC

[jira] [Resolved] (CALCITE-1008) Replace Closeable with AutoCloseable

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

Julian Hyde resolved CALCITE-1008.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/9c86556f.

> Replace Closeable with AutoCloseable
> ------------------------------------
>
>                 Key: CALCITE-1008
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1008
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>             Fix For: 1.6.0
>
>
> Now Calcite no longer supports JDK 1.6 we can use AutoCloseable if we want to. It is more appropriate interface for releasing resources on close because it is not so tightly associated with I/O. (Closeable.close throws IOException.) Most, if not all, uses of Closeable in Calcite should instead use AutoCloseable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)