package com.flashlight13.rssreader.app.utils;

import android.support.annotation.Nullable;

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

/**
 * Created by Anton on 18.10.2015.
 */
public class StreamUtils {

    public static void safeClose(@Nullable Closeable closeable) {
        try {
            if (closeable != null) {
                closeable.close();
            }
        } catch (IOException e) {
        }
    }
}
