File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060import org .apache .commons .io .output .AppendableWriter ;
6161import org .apache .commons .io .output .ByteArrayOutputStream ;
6262import org .apache .commons .io .output .NullOutputStream ;
63+ import org .apache .commons .io .output .NullWriter ;
6364import org .apache .commons .io .output .StringBuilderWriter ;
6465import org .apache .commons .io .output .ThresholdingOutputStream ;
6566import org .apache .commons .io .output .UnsynchronizedByteArrayOutputStream ;
@@ -827,7 +828,6 @@ public static void closeQuietly(final Writer writer) {
827828 * @param input the {@link InputStream} to read.
828829 * @return the number of bytes copied. or {@code 0} if {@code input is null}.
829830 * @throws NullPointerException if the InputStream is {@code null}.
830- * @throws NullPointerException if the OutputStream is {@code null}.
831831 * @throws IOException if an I/O error occurs.
832832 * @since 2.8.0
833833 */
You can’t perform that action at this time.
0 commit comments