@Override public void dispose() { InputStream in3 = this.in2; if (in3 != null) { try { InputStreams.skipAll(in3); } catch (Exception e) {} try { in3.close(); } catch (Exception e) {} } this.in2 = null; } };
@Override public void dispose() { InputStream is = this.is; if (is != null) { try { InputStreams.skipAll(is); } catch (Exception e) {} try { is.close(); } catch (Exception e) {} } this.is = null; } };
/** @deprecated Use {@link InputStreams#skipAll(InputStream)} instead */ @Deprecated public static long skipAll(InputStream inputStream) throws IOException { return InputStreams.skipAll(inputStream); }