All Downloads are FREE. Search and download functionalities are using the official Maven repository.

infinispan.org.iq80.leveldb.util.Closeables Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.iq80.leveldb.util;

import java.io.Closeable;
import java.io.IOException;

public final class Closeables
{
    private Closeables() {}

    public static void closeQuietly(Closeable closeable)
    {
        if (closeable == null) {
            return;
        }
        try {
            closeable.close();
        }
        catch (IOException ignored) {
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy