GitHub user dkhwangbo opened a pull request:
https://github.com/apache/tajo/pull/808
TAJO-1877: Adopt try-resource statement to AbstractDBStore
See
https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html.
JDK 7 introduced try-resource statement for better resource allocation and
deallocation.
We can also adopt this feature to AbstractDBStore.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dkhwangbo/tajo TAJO-1877
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/808.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #808
----
commit dbd422137c90feae029d6130620229156477000d
Author: Dongkyu Hwangbo <[email protected]>
Date: 2015-10-06T04:39:41Z
initial commit
commit fb8d3ff5bc374ec2fa6b58b728921775fed4a85d
Author: Dongkyu Hwangbo <[email protected]>
Date: 2015-10-06T04:41:03Z
remove unused import
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---