You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/03/11 10:17:00 UTC
[jira] [Updated] (HDDS-10502) Improve generic type of IOUtils.close
[ https://issues.apache.org/jira/browse/HDDS-10502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-10502:
----------------------------------
Labels: pull-request-available (was: )
> Improve generic type of IOUtils.close
> -------------------------------------
>
> Key: HDDS-10502
> URL: https://issues.apache.org/jira/browse/HDDS-10502
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
>
> Improve {{IOUtils.close}} to be able to call it with a collection of any type that implements {{AutoCloseable}}:
> {code:title=https://github.com/apache/ozone/blob/5c57bcb37d8c9b0b4f97935244f085ea7c1ebbaf/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/IOUtils.java#L69-L70}
> public static void close(Logger logger,
> Collection<AutoCloseable> closeables) {
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org