Skip to content

Commit c91d089

Browse files
committed
Add @SuppressWarnings("resource")
1 parent e5fdc38 commit c91d089

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public static void dump(final byte[] data, final long offset,
185185
* outside the data array's bounds
186186
* @throws NullPointerException if the output stream is null
187187
*/
188+
@SuppressWarnings("resource") // Caller closes stream
188189
public static void dump(final byte[] data, final long offset,
189190
final OutputStream stream, final int index)
190191
throws IOException, ArrayIndexOutOfBoundsException {

0 commit comments

Comments
 (0)