/** * Closes the proxied input stream and, if so configured, the associated * output stream. An exception thrown from one stream will not prevent * closing of the other stream. * * @throws IOException if either of the streams could not be closed */ @Override public void close() throws IOException { try { super.close(); } finally { if (closeBranch) { branch.close(); } } }
@Override public void close() throws IOException { IOException ioe = null; try { super.close(); } catch (final IOException e) { ioe = e; } if (ioe == null) { noteClosed(); } else { noteError(ioe); } }
@Override public void close() throws IOException { try { super.close(); } finally { this.closed = true; } }
@Override public void close() throws IOException { super.close(); closeWhispering(sftp, this); } }
@Override public void close() throws IOException { super.close(); closeWhispering(sftp, this); } }
public void close() throws IOException { closed = true; super.close(); }
public void close() throws IOException { closed = true; super.close(); }
@Override public void close() throws IOException { super.close(); openStreamCount.decrementAndGet(); } };
/** * Closes the proxied input stream and, if so configured, the associated * output stream. An exception thrown from one stream will not prevent * closing of the other stream. * * @throws IOException if either of the streams could not be closed */ public void close() throws IOException { try { super.close(); } finally { if (closeBranch) { branch.close(); } } }
/** * Closes the proxied input stream and, if so configured, the associated * output stream. An exception thrown from one stream will not prevent * closing of the other stream. * * @throws IOException if either of the streams could not be closed */ public void close() throws IOException { try { super.close(); } finally { if (closeBranch) { branch.close(); } } }
/** * Closes the proxied input stream and, if so configured, the associated * output stream. An exception thrown from one stream will not prevent * closing of the other stream. * * @throws IOException if either of the streams could not be closed */ @Override public void close() throws IOException { try { super.close(); } finally { if (closeBranch) { branch.close(); } } }
@Override public void close() throws IOException { try { super.close(); } finally { try { conn.close(); } catch (SQLException ex) { throw new IOException("Exception while closing connection", ex); } } } }
/** * Closes the proxied input stream and, if so configured, the associated * output stream. An exception thrown from one stream will not prevent * closing of the other stream. * * @throws IOException if either of the streams could not be closed */ @Override public void close() throws IOException { try { super.close(); } finally { if (closeBranch) { branch.close(); } } }
/** * Closes the proxied input stream and, if so configured, the associated * output stream. An exception thrown from one stream will not prevent * closing of the other stream. * * @throws IOException if either of the streams could not be closed */ @Override public void close() throws IOException { try { super.close(); } finally { if (closeBranch) { branch.close(); } } }
/** * Closes the proxied input stream and, if so configured, the associated * output stream. An exception thrown from one stream will not prevent * closing of the other stream. * * @throws IOException if either of the streams could not be closed */ @Override public void close() throws IOException { try { super.close(); } finally { if (closeBranch) { branch.close(); } } }
@Override public void close() throws IOException { try { super.close(); } finally { release(resolved); } } }
@Override public void close() throws IOException { super.close(); if (sftp != null) sftp.disconnect(); } }
@Override public void close() throws IOException { try { super.close(); } finally { onClose.apply(this.in); } } }
@Override public void close() throws IOException { IOException ioe = null; try { super.close(); } catch (final IOException e) { ioe = e; } if (ioe == null) { noteClosed(); } else { noteError(ioe); } }
super.close(); if(session.isConnected()) {