Class Closeables

java.lang.Object
hudson.plugins.ec2.util.Closeables

public class Closeables extends Object
  • Constructor Details

    • Closeables

      public Closeables()
  • Method Details

    • closeQuietly

      public static void closeQuietly(@Nullable Closeable closeable)
      Quietly close a Closeable, logging any IOExceptions instead of throwing them.
      Parameters:
      closeable - The Closeable to close quietly. If null, then this method is a no-op.