Skip to content

Commit 6855914

Browse files
committed
Add internal comment
1 parent ca0c655 commit 6855914

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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 RandomAccessFileInputStream get() throws IOException {
9090
}
9191
return new RandomAccessFileInputStream(randomAccessFile, propagateClose);
9292
}
93+
// No need to parameterize the RandomAccessFileMode since we are only reading.
9394
return new RandomAccessFileInputStream(RandomAccessFileMode.READ_ONLY.create(checkOrigin().getFile()), propagateClose);
9495
}
9596

0 commit comments

Comments
 (0)