public static void close(@CheckForNull AutoCloseable c) {
        if (c == null) {
            return;
        }

        try {
            c.close();
        } catch (Exception e) {
            // Ignore
        }
    }
public static void close ( @ CheckForNull AutoCloseable c ) { if ( c == null ) { return ; } try { c . close ( ) ; } catch ( Exception e ) { } }
Close given AutoCloseable instance, ignoring any resulting exception.