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 "Liu Xun (Jira)" <ji...@apache.org> on 2019/10/04 23:08:00 UTC

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

     [ 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)