diff --git a/tika-core/src/main/java/org/apache/tika/io/BoundedInputStream.java b/tika-core/src/main/java/org/apache/tika/io/BoundedInputStream.java index 404d6cc765..0ca9a8083e 100644 --- a/tika-core/src/main/java/org/apache/tika/io/BoundedInputStream.java +++ b/tika-core/src/main/java/org/apache/tika/io/BoundedInputStream.java @@ -123,16 +123,6 @@ public boolean hasHitBound() { return pos >= max; } - @Override - public byte[] readNBytes(int len) throws IOException { - return in.readNBytes(len); - } - - @Override - public int readNBytes(byte[] b, int off, int len) throws IOException { - return in.readNBytes(b, off, len); - } - @Override public int available() throws IOException { return in.available(); @@ -143,9 +133,5 @@ public boolean markSupported() { return in.markSupported(); } - @Override - public long transferTo(OutputStream out) throws IOException { - return in.transferTo(out); - } } diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/src/main/java/org/apache/tika/parser/pkg/PackageParser.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/src/main/java/org/apache/tika/parser/pkg/PackageParser.java index 623ed88759..f25df821b5 100644 --- a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/src/main/java/org/apache/tika/parser/pkg/PackageParser.java +++ b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/src/main/java/org/apache/tika/parser/pkg/PackageParser.java @@ -520,21 +520,6 @@ public void close() throws IOException { file.close(); } - @Override - public byte[] readAllBytes() throws IOException { - return in.readAllBytes(); - } - - @Override - public byte[] readNBytes(int len) throws IOException { - return in.readNBytes(len); - } - - @Override - public int readNBytes(byte[] b, int off, int len) throws IOException { - return in.readNBytes(b, off, len); - } - @Override public long skip(long n) throws IOException { return in.skip(n); @@ -554,11 +539,6 @@ public synchronized void mark(int readlimit) { public boolean markSupported() { return in.markSupported(); } - - @Override - public long transferTo(OutputStream out) throws IOException { - return in.transferTo(out); - } }