Matthias Welz created IO-742:
--------------------------------
Summary: IOUtils.close(Closeable, IOConsumer<IOException>) should
not throw IOException
Key: IO-742
URL: https://issues.apache.org/jira/browse/IO-742
Project: Commons IO
Issue Type: Bug
Components: Utilities
Affects Versions: 2.10.0
Reporter: Matthias Welz
The method
{code:java}
public static void close(Closeable closeable, IOConsumer<IOException>
consumer){code}
should not include a _throws IOException_ clause as the IOException will be
handled by consumer (which is the point of the method).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)