Attila Doroszlai created HDDS-10502:
---------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to