@Override public void close() throws IOException { cleanUpClassLoaders(cleanupLoaders); super.close(); }
@Override public void close() throws IOException { if (lineBuf.length() > 0) { lines.add(lineBuf.toString()); lineBuf.setLength(0); } super.close(); closed = true; }
public void close() throws IOException { super.close(); logRead(); }
public void close() throws IOException { super.close(); logRead(); }
public void close() throws IOException { mClosed = true; super.close(); } }
/** * Really close the input. * * @see java.io.Reader#close() * * @throws IOException When an I/O error occurs. */ public void doClose() throws IOException { super.close(); }
@Override public void close() throws IOException { super.close(); this.isClosed = true; }
@Override public void close() { try { super.close(); } catch (IOException e) { LOG.error("Error closing"); } }
@Override public void close() throws IOException { try { super.close(); } finally { out.flush(); out.close(); } }
@Override public void close() throws IOException { super.close(); try { resultSet.close(); } catch (RuntimeException re) { throw re; } catch (Exception e) { // ignore } } }
@Override public void close() throws IOException { if (lineBuf.length() > 0) { lines.add(lineBuf.toString()); lineBuf.setLength(0); } super.close(); closed = true; }
public void close() throws IOException { if (lineBuf.length() >0) { lines.add(lineBuf.toString()); lineBuf.setLength(0); } super.close(); }
@Override public void close() throws IOException { if (lineBuf.length() > 0) { lines.add(lineBuf.toString()); lineBuf.setLength(0); } super.close(); closed = true; }
@Override public void close() throws IOException { try { if (rs != null) { rs.close(); rs = null; } } catch (Exception e) { // ignore } try { if (stm != null) { stm.close(); stm = null; } } catch (Exception e) { // ignore } super.close(); }
@Override @DischargesObligation public void close() throws IOException { super.close(); buf = null; }
@Override @DischargesObligation public void close() throws IOException { super.close(); buf = null; }
/** * Close the EspReader. */ public void close() throws java.io.IOException { if (input != null) { input.close(); input = null; } // I dont' know what happens ?? super.close(); }
@Override public void close() throws IOException { super.close(); this.logger.close(this.fqcn); }
@Override public void close() throws IOException { super.close(); // Close the write end of the pipe. pipedWriter.close(); // The background thread should terminate quickly because the read end of the pipe will signal // 'end-of-input'. try { thread.join(); } catch (InterruptedException ie) { throw new BuildException(ie); } } };
/** {@inheritDoc} */ @Override public void close() throws IOException { if (this.closeCount == 0) { this.closeTrace = LogUtils.getCaller(DiagnosticReader.class, this.logDepth); } else { final String warning = "MULTIPLE_CLOSE : method " + this.getClass().getSimpleName() + ".close() is being called the[" + this.closeCount + "]time by [" + LogUtils.getCaller(DiagnosticReader.class, this.logDepth) + "]"; LOGGER.warn(warning + " but stream was already closed by [" + this.closeTrace + "]"); this.warnings.add(warning); } this.closeCount++; super.close(); }