You are viewing a plain text version of this content. The canonical link for it is here.
Posted to submarine-dev@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/01 15:21:00 UTC

[jira] [Updated] (SUBMARINE-204) [SERVER] Optimize the tryResourceClose

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

ASF GitHub Bot updated SUBMARINE-204:
-------------------------------------
    Labels: pull-request-available  (was: )

> [SERVER] Optimize the tryResourceClose
> --------------------------------------
>
>                 Key: SUBMARINE-204
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-204
>             Project: Hadoop Submarine
>          Issue Type: Sub-task
>            Reporter: zhulinhao
>            Assignee: zhulinhao
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.3.0
>
>
> Refer to the Java code specification:[https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html,|https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html]
> Write the resources that need to be closed in the try block instead of manually closing them in finally.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)