Dan, To the extent the Java equivalents offer similar performance and identical semantics reducing dependencies would be very welcome.
CloseQuietly likely needs further review as having a 'close' method does not necessarily ensure it implements Closeble but assuming that is all good then sounds interesting. Thanks On Fri, Feb 7, 2025 at 1:40 PM Dan S <dsti...@gmail.com> wrote: > I noticed there are many instances where org.apache.commons.io.IOUtils > methods are used throughout the code. > e.g. toString, toByteArray, copy, closeQuietly etc. Since Java 9 there are > equivalents for toString, toByteArray and copy. For closeQuietly a try > with resources can be used to ensure the stream is closed. Would we want to > change over the use of IOUtils methods in favor of Java alternatives? >