public static void closeWithWarn(Closeable closeable) {
        if (BeanUtil.nonNull(closeable)) {
            try {
                closeable.close();
            } catch (IOException e) {
                LOG.warn("关闭流出错......", e);
            }
        }
    }
public static void closeWithWarn ( Closeable closeable ) { if ( BeanUtil . nonNull ( closeable ) ) { try { closeable . close ( ) ; } catch ( IOException e ) { LOG . warn ( "关闭流出错......" , e ) ; } } }
关闭需要关闭的对象，如果关闭出错，给出警告

@param closeable 需要关闭的对象