File tree Expand file tree Collapse file tree
android/guava/src/com/google/common/io
guava/src/com/google/common/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ private ByteStreams() {}
100100 * Copies all bytes from the input stream to the output stream. Does not close or flush either
101101 * stream.
102102 *
103+ * <p><b>Java 9 users and later:</b> this method should be treated as deprecated; use the
104+ * equivalent {@link InputStream#transferTo} method instead.
105+ *
103106 * @param from the input stream to read from
104107 * @param to the output stream to write to
105108 * @return the number of bytes copied
Original file line number Diff line number Diff line change @@ -100,6 +100,9 @@ private ByteStreams() {}
100100 * Copies all bytes from the input stream to the output stream. Does not close or flush either
101101 * stream.
102102 *
103+ * <p><b>Java 9 users and later:</b> this method should be treated as deprecated; use the
104+ * equivalent {@link InputStream#transferTo} method instead.
105+ *
103106 * @param from the input stream to read from
104107 * @param to the output stream to write to
105108 * @return the number of bytes copied
You can’t perform that action at this time.
0 commit comments