This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 2ecce26235 Core: Change SingleBufferInputStream .read signature to
match super (#6221)
2ecce26235 is described below
commit 2ecce262355c3362ba126d9d30e6df0ce42d14c2
Author: David Christle <[email protected]>
AuthorDate: Mon Dec 5 06:12:18 2022 -0800
Core: Change SingleBufferInputStream .read signature to match super (#6221)
---
core/src/main/java/org/apache/iceberg/io/SingleBufferInputStream.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core/src/main/java/org/apache/iceberg/io/SingleBufferInputStream.java
b/core/src/main/java/org/apache/iceberg/io/SingleBufferInputStream.java
index d32b339de9..fef2f9164f 100644
--- a/core/src/main/java/org/apache/iceberg/io/SingleBufferInputStream.java
+++ b/core/src/main/java/org/apache/iceberg/io/SingleBufferInputStream.java
@@ -64,7 +64,7 @@ class SingleBufferInputStream extends ByteBufferInputStream {
}
@Override
- public int read(byte[] bytes, int offset, int len) throws IOException {
+ public int read(byte[] bytes, int off, int len) throws IOException {
if (len == 0) {
return 0;
}
@@ -75,7 +75,7 @@ class SingleBufferInputStream extends ByteBufferInputStream {
}
int bytesToRead = Math.min(buffer.remaining(), len);
- buffer.get(bytes, offset, bytesToRead);
+ buffer.get(bytes, off, bytesToRead);
return bytesToRead;
}