private static void closeSafe(Closeable closeable){
  if (closeable != null) {
    try {
      closeable.close();
    }
 catch (    IOException ignored) {
    }
  }
}

private static void closeSafe ( Closeable closeable ) { if ( closeable != null ) { try { closeable . close ( ) ; } catch ( IOException ignored ) { } } }
close the given closeable object ( stream ) in a safe way : check if it is null and catch - log exception thrown .
