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

Liu Xun resolved SUBMARINE-204.
-------------------------------
    Resolution: Fixed

> [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
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to