/** * {@inheritDoc} */ @Override public void close() { if (randomFile != null) { try { randomFile.close(); } catch (IOException e) { // We cannot throw an exception within a release statement. LOG.log(Level.WARNING, "Unable to close random access file.", e); } randomFile = null; } } }
/** * {@inheritDoc} */ @Override public void close() { if (randomFile != null) { try { randomFile.close(); } catch (IOException e) { // We cannot throw an exception within a release statement. LOG.log(Level.WARNING, "Unable to close random access file.", e); } randomFile = null; } } }
fileInStream.close(); } catch (Exception e) {
fileInStream.close(); } catch (Exception e) {