private void closeStream(Closeable stream){
  if (stream != null) {
    try {
      stream.close();
    }
 catch (    IOException e) {
      LOGGER.error("Unable to close an I/O stream",e);
    }
  }
}

private void closeStream ( Closeable stream ) { if ( stream != null ) { try { stream . close ( ) ; } catch ( IOException e ) { LOGGER . error ( "Unable to close an I/O stream" , e ) ; } } }
closes this stream quietly and releases any system resources associated with it
