Skip to content

Commit cdf7794

Browse files
committed
[IO-686] IOUtils.toByteArray(InputStream) Javadoc does not match code.
1 parent bc47652 commit cdf7794

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/changes/changes.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ The <action> type attribute can be add,update,fix,remove.
4545
</properties>
4646

4747
<body>
48+
<!-- The release date is the date RC is cut -->
49+
<release version="2.9.0" date="2020-MM-DD" description="Java 8 required.">
50+
<action issue="686" dev="ggregory" type="add" due-to="Alan Moffat, Gary Gregory">
51+
IOUtils.toByteArray(InputStream) Javadoc does not match code
52+
</action>
53+
</release>
4854
<!-- The release date is the date RC is cut -->
4955
<release version="2.8.0" date="2020-09-05" description="Java 8 required.">
5056
<action dev="ggregory" type="add" due-to="Gary Gregory">

src/main/java/org/apache/commons/io/IOUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2232,7 +2232,6 @@ public static BufferedReader toBufferedReader(final Reader reader, final int siz
22322232
*
22332233
* @param input the <code>InputStream</code> to read from
22342234
* @return the requested byte array
2235-
* @throws NullPointerException if the input is null
22362235
* @throws IOException if an I/O error occurs
22372236
*/
22382237
public static byte[] toByteArray(final InputStream input) throws IOException {

0 commit comments

Comments
 (0)