[ 
https://issues.apache.org/jira/browse/TAJO-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904306#comment-14904306
 ] 

ASF GitHub Bot commented on TAJO-1877:
--------------------------------------

GitHub user dkhwangbo opened a pull request:

    https://github.com/apache/tajo/pull/780

    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. 
    I 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/780.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 #780
    
----
commit b6836ae2dd2c47dbd2d59ad1245894f824d74b09
Author: Dongkyu Hwangbo <[email protected]>
Date:   2015-09-23T10:13:31Z

    initial commit

----


> Adopt try-resource statement to AbstractDBStore
> -----------------------------------------------
>
>                 Key: TAJO-1877
>                 URL: https://issues.apache.org/jira/browse/TAJO-1877
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: Catalog
>            Reporter: Hyunsik Choi
>            Assignee: Dongkyu Hwangbo
>              Labels: newbie
>
> 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.



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

Reply via email to