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

org.zalando.logbook.openfeign.Utils Maven / Gradle / Ivy

The newest version!
package org.zalando.logbook.openfeign;

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

public class Utils {
    private Utils() {
    }

    public static void ensureClosed(Closeable closeable) {
        if (closeable != null) {
            try {
                closeable.close();
            } catch (IOException ignored) {
                // ignore
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy