/** @deprecated Use {@link InputStreams#onEndOfInput(InputStream, Runnable)} instead */ @Deprecated public static InputStream onEndOfInput(InputStream delegate, final Runnable runnable) { return InputStreams.onEndOfInput(delegate, runnable); }
in = InputStreams.onEndOfInput(in, new Runnable() {