private static void closeQuietly ( final InputStream is , final String message ) { if ( is != null ) { try { is . close ( ) ; } catch ( final Exception e ) { if ( LOGGER . isWarnEnabled ( ) ) { LOGGER . warn ( message , e ) ; } } } }
Close an input stream logging possible failures .