Skip to content

Commit

Permalink
TIKA-4199: remove methods missing in supertype
Browse files Browse the repository at this point in the history
  • Loading branch information
THausherr committed Feb 20, 2024
1 parent 8295f36 commit 0934aea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
14 changes: 0 additions & 14 deletions tika-core/src/main/java/org/apache/tika/io/BoundedInputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -143,9 +133,5 @@ public boolean markSupported() {
return in.markSupported();
}

@Override
public long transferTo(OutputStream out) throws IOException {
return in.transferTo(out);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
}


}
Expand Down

0 comments on commit 0934aea

Please sign in to comment.