[errorprone] Fix warning InputStreamSlowMultibyteRead

Change-Id: I50dace6e310016c04f524eb0cfcce0da05fadd47
This commit is contained in:
Matthias Sohn 2021-06-07 00:28:48 +02:00
parent c2f9acdc32
commit ae692779ce
2 changed files with 10 additions and 0 deletions

View File

@ -82,6 +82,11 @@ public int read() throws IOException {
return b;
}
@Override
public int read(byte[] b, int off, int len) throws IOException {
return super.read(b, off, len);
}
private void initialize() throws IOException {
long baseSize = readVarInt(delta);
if (baseSize > Integer.MAX_VALUE || baseSize < 0

View File

@ -58,6 +58,11 @@ public int read() throws IOException {
return -1;
}
@Override
public int read(byte[] b, int off, int len) throws IOException {
return super.read(b, off, len);
}
@Override
public void close() throws IOException {
in.close();