public static void close(Closeable closeable){
  if (closeable == null) {
    return;
  }
  try {
    closeable.close();
  }
 catch (  IOException e) {
    throw new RuntimeException(e.getMessage(),e);
  }
}

public static void close ( Closeable closeable ) { if ( closeable == null ) { return ; } try { closeable . close ( ) ; } catch ( IOException e ) { throw new RuntimeException ( e . getMessage ( ) , e ) ; } }
close an i / o stream . do nothing if closeable is null .
