public static void close()

in src/main/java/org/apache/sling/commons/log/logback/internal/util/Util.java [41:55]


    public static void close(@Nullable InputSource is) {
        if (is != null) {
            Closeable c = is.getByteStream();
            if (c == null) {
                c = is.getCharacterStream();
            }
            if (c != null) {
                try {
                    c.close();
                } catch (IOException e) {
                    // Ignore
                }
            }
        }
    }