Skip to content

Commit 369a347

Browse files
committed
Add @SuppressWarnings("resource")
1 parent ad492ad commit 369a347

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/apache/commons/io/input/RandomAccessFileInputStream.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public Builder() {
9090
* @see AbstractOrigin#getFile()
9191
* @see #getUnchecked()
9292
*/
93+
@SuppressWarnings("resource") // caller closes
9394
@Override
9495
public RandomAccessFileInputStream get() throws IOException {
9596
return new RandomAccessFileInputStream(getRandomAccessFile(), propagateClose);

0 commit comments

Comments
 (0)