Here is a discussion about this topic @ Guava. https://github.com/google/guava/issues/1118
On Tue, Nov 5, 2019 at 1:14 PM Pascal Schumacher <pascalschumac...@gmx.net> wrote: > +1, for removing the deprecatio > > Am 05.11.2019 um 16:10 schrieb Gary Gregory: > > Hi All: > > > > I propose that we do NOT deprecate IOUtils#closeQuietly(). There are > > use-cases for this method outside of try-with-resources blocks. > > > > For example, I have some wrapper objects that contain Closeable objects. > > When the wrapper is closed, I do and want to add calls to > > IOUtils#closeQuietly() to avoid null checks in call sites. > > > > Gary > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >