mirror of https://github.com/google/brotli
Fix typo in variable name (#854)
* Fix typo in variable name * Fix compile error
This commit is contained in:
parent
0e8afdc968
commit
f16845614d
|
@ -16,7 +16,7 @@ import java.util.ArrayList;
|
||||||
* Base class for InputStream / Channel implementations.
|
* Base class for InputStream / Channel implementations.
|
||||||
*/
|
*/
|
||||||
public class Decoder {
|
public class Decoder {
|
||||||
private static final ByteBuffer EMPTY_BUFER = ByteBuffer.allocate(0);
|
private static final ByteBuffer EMPTY_BUFFER = ByteBuffer.allocate(0);
|
||||||
private final ReadableByteChannel source;
|
private final ReadableByteChannel source;
|
||||||
private final DecoderJNI.Wrapper decoder;
|
private final DecoderJNI.Wrapper decoder;
|
||||||
ByteBuffer buffer;
|
ByteBuffer buffer;
|
||||||
|
@ -91,7 +91,7 @@ public class Decoder {
|
||||||
}
|
}
|
||||||
if (bytesRead == 0) {
|
if (bytesRead == 0) {
|
||||||
// No input data is currently available.
|
// No input data is currently available.
|
||||||
buffer = EMPTY_BUFER;
|
buffer = EMPTY_BUFFER;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
decoder.push(bytesRead);
|
decoder.push(bytesRead);
|
||||||
|
|
Loading…
Reference in New Issue