[errorprone] Fix warning InputStreamSlowMultibyteRead
Change-Id: I50dace6e310016c04f524eb0cfcce0da05fadd47
This commit is contained in:
parent
c2f9acdc32
commit
ae692779ce
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue