public static void closeQuietly ( final InputStream aInputStream ) { if ( aInputStream != null ) { try { aInputStream . close ( ) ; } catch ( final IOException details ) { LOGGER . error ( details . getMessage ( ) , details ) ; } } }
Closes an input stream catching and logging any exceptions .