drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2017) Many uses of Closeable should be AutoCloseable
Date Thu, 15 Jan 2015 21:55:35 GMT
Chris Westin created DRILL-2017:
-----------------------------------

             Summary: Many uses of Closeable should be AutoCloseable
                 Key: DRILL-2017
                 URL: https://issues.apache.org/jira/browse/DRILL-2017
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Chris Westin


The difference is subtle. Closeable is designed for I/O, and it's version of close() throws
IOException. AutoCloseable is more general, and can be used for things like transactions,
or memory management. It's version of close() throws Exception.

This occurs throughout the code.



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

Mime
View raw message