LinhaoZhu opened a new pull request #29: [SUBMARINE-204] Optimize the 
tryResourceClose
URL: https://github.com/apache/hadoop-submarine/pull/29
 
 
   ### What is this PR for?
   Refer to the Java code 
specification: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.
   
   ### What type of PR is it?
   [ Improvement ]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * [SUBMARINE-204](https://issues.apache.org/jira/browse/SUBMARINE-204)
   
   ### How should this be tested?
   * [CI 
Pass](https://travis-ci.org/LinhaoZhu/hadoop-submarine/builds/592062347)
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to