You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2022/05/04 15:13:02 UTC
[iceberg] branch master updated: Core: Add missing override annotations (#4690)
This is an automated email from the ASF dual-hosted git repository.
blue 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 099d74a58 Core: Add missing override annotations (#4690)
099d74a58 is described below
commit 099d74a58248abc8b9276b1bc8bf78b8fe4ffaff
Author: felixYyu <fe...@live.cn>
AuthorDate: Wed May 4 23:12:57 2022 +0800
Core: Add missing override annotations (#4690)
---
core/src/main/java/org/apache/iceberg/io/MultiBufferInputStream.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/core/src/main/java/org/apache/iceberg/io/MultiBufferInputStream.java b/core/src/main/java/org/apache/iceberg/io/MultiBufferInputStream.java
index b85d50430..e7bebdb5f 100644
--- a/core/src/main/java/org/apache/iceberg/io/MultiBufferInputStream.java
+++ b/core/src/main/java/org/apache/iceberg/io/MultiBufferInputStream.java
@@ -66,6 +66,7 @@ class MultiBufferInputStream extends ByteBufferInputStream {
return position;
}
+ @Override
public void seek(long newPosition) throws IOException {
if (newPosition > length) {
throw new EOFException(String.format("Cannot seek to position after end of file: %s", newPosition));
@@ -176,6 +177,7 @@ class MultiBufferInputStream extends ByteBufferInputStream {
return slice;
}
+ @Override
public List<ByteBuffer> sliceBuffers(long len) throws EOFException {
if (len <= 0) {
return Collections.emptyList();