Skip to content

Commit aa93d6b

Browse files
committed
1 parent 4859ac2 commit aa93d6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2669,6 +2669,7 @@ public static byte[] toByteArray(final InputStream inputStream) throws IOExcepti
26692669
* @throws IllegalArgumentException if {@code size} is less than zero.
26702670
* @since 2.1
26712671
*/
2672+
@SuppressWarnings("resource")
26722673
public static byte[] toByteArray(final InputStream input, final int size) throws IOException {
26732674
if (size == 0) {
26742675
return EMPTY_BYTE_ARRAY;

0 commit comments

Comments
 (0)