Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use finally block to close resource for better fault tolerance. #9118

Closed
wants to merge 1 commit into from

Conversation

whitingjr
Copy link
Contributor

This change swaps out a method call to use another to cover normal operation and exceptions.

Copy link
Member

@wburns wburns left a comment

Choose a reason for hiding this comment

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

Changes look good, however, can you log a JIRA at https://issues.redhat.com/projects/ISPN, @whitingjr ?

@whitingjr
Copy link
Contributor Author

whitingjr commented Mar 10, 2021

Changes look good, however, can you log a JIRA at https://issues.redhat.com/projects/ISPN, @whitingjr ?

https://issues.redhat.com/browse/ISPN-12820

If you need anything else let me know.

@ghost
Copy link

ghost commented Mar 10, 2021

Can one of the admins verify this patch?

@wburns
Copy link
Member

wburns commented Mar 10, 2021

I pushed to 9.4.x manually with updated commit message. Thanks @whitingjr !

@wburns wburns closed this Mar 10, 2021
@whitingjr whitingjr deleted the add-finally-block branch March 10, 2021 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants