Skip to content

Use try-with-resources#788

Merged
npathai merged 1 commit into
iluwatar:masterfrom
diffblue-assistant:finallyclosetotrywithresources
Aug 28, 2018
Merged

Use try-with-resources#788
npathai merged 1 commit into
iluwatar:masterfrom
diffblue-assistant:finallyclosetotrywithresources

Conversation

@diffblue-assistant
Copy link
Copy Markdown

@diffblue-assistant diffblue-assistant commented Aug 23, 2018

This pull request was created automatically as part of our ongoing efforts
at https://diffblue.com to implement refactorings. Feel free to leave feedback
here or contact us directly for any enquiries.

The developer in charge is @krobelus.

Changes:

  • Replace try statements that close a resource in the finally block with a
    try-with-resources statement [1].

[1] https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html

Replace try statements that close a resource in the finally block with a
try-with-resources statement [1].

This commit was created automatically by Diffblue refactorings (https://www.diffblue.com/).

[1] https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html
Copy link
Copy Markdown

@IAmPramod IAmPramod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@npathai
Copy link
Copy Markdown
Contributor

npathai commented Aug 28, 2018

@IAmPramod Thanks for the review 👍

@npathai npathai merged commit 74f3799 into iluwatar:master Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants