ppkarwasz commented on code in PR #784:
URL: https://github.com/apache/commons-io/pull/784#discussion_r2366838759
##########
src/main/java/org/apache/commons/io/build/AbstractOrigin.java:
##########
@@ -267,7 +521,7 @@ public FileOrigin(final File origin) {
@Override
public byte[] getByteArray(final long position, final int length)
throws IOException {
- try (RandomAccessFile raf =
RandomAccessFileMode.READ_ONLY.create(origin)) {
+ try (RandomAccessFile raf =
RandomAccessFileMode.READ_ONLY.create(getFile())) {
Review Comment:
Fixed in
https://github.com/apache/commons-io/pull/784/commits/24fff74dc1645e7b566fb167befe1ad167c1ba62
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]