closeQuietlypublic static void closeQuietly
This method has been added because Guava has removed the
Closeablesin v16.0. It's tempting simply to replace calls to
closeQuietly(closeable)with calls to
close(closeable, true)to close
Closeables while swallowing
close()is declared as
closeQuietly()is not, so it's not a drop-in replacement.
On the whole, Guava is very backwards compatible. By fixing this nit, Curator can continue to support newer versions of Guava without having to bump its own dependency version.