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

HDDS-10502. Improve generic type of IOUtils.close #6361

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Improve IOUtils.close to be able to call it with a collection of any type that implements AutoCloseable.

https://issues.apache.org/jira/browse/HDDS-10502

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/8230153156

@adoroszlai adoroszlai self-assigned this Mar 11, 2024
Copy link
Contributor

@myskov myskov left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @adoroszlai , LGTM

@adoroszlai adoroszlai merged commit 6c95fc9 into apache:master Mar 12, 2024
36 checks passed
@adoroszlai adoroszlai deleted the HDDS-10502 branch March 12, 2024 10:46
@adoroszlai
Copy link
Contributor Author

Thanks @myskov for the review.

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.

2 participants