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/06 07:53:11 UTC

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

Julian Hyde created CALCITE-1008:
------------------------------------

             Summary: 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


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)