[
https://issues.apache.org/jira/browse/SUBMARINE-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhulinhao updated SUBMARINE-204:
--------------------------------
Description:
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.
was:Refer to the Java code
specification:https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html
> [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: Major
> 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)