Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Issue Links
- links to