parquet-common/src/main/java/org/apache/parquet/Closeables.java
public static void closeAndSwallowIOExceptions(Closeable c) {
    if (c == null) { return; }
    try {
      c.close();
    } catch (IOException e) {
      LOG.warn("Encountered exception closing closeable", e);
    }
  }
public static void closeAndSwallowIOExceptions(Closeable c) {
    if (c == null) { return; }
    try {
      c.close();
    } catch (IOException e) {
      LOG.warn("Encountered exception closing closeable", e);
    }
  }
Closes a (potentially null) closeable, swallowing any IOExceptions thrown by
c.close(). The exception will be logged.
@param c can be null