[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;
|
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 {
|
private void initialize() throws IOException {
|
||||||
long baseSize = readVarInt(delta);
|
long baseSize = readVarInt(delta);
|
||||||
if (baseSize > Integer.MAX_VALUE || baseSize < 0
|
if (baseSize > Integer.MAX_VALUE || baseSize < 0
|
||||||
|
|
|
@ -58,6 +58,11 @@ public int read() throws IOException {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int read(byte[] b, int off, int len) throws IOException {
|
||||||
|
return super.read(b, off, len);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void close() throws IOException {
|
public void close() throws IOException {
|
||||||
in.close();
|
in.close();
|
||||||
|
|
Loading…
Reference in New Issue