Package hudson.plugins.ec2.util
Class Closeables
- java.lang.Object
-
- hudson.plugins.ec2.util.Closeables
-
public class Closeables extends Object
-
-
Constructor Summary
Constructors Constructor Description Closeables()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
closeQuietly(Closeable closeable)
Quietly close aCloseable
, logging anyIOException
s instead of throwing them.
-
-
-
Method Detail
-
closeQuietly
public static void closeQuietly(@Nullable Closeable closeable)
Quietly close aCloseable
, logging anyIOException
s instead of throwing them.- Parameters:
closeable
- TheCloseable
to close quietly. Ifnull
, then this method is a no-op.
-
-