Fix typo in variable name (#854)
* Fix typo in variable name
* Fix compile error
diff --git a/java/org/brotli/wrapper/dec/Decoder.java b/java/org/brotli/wrapper/dec/Decoder.java
index 26183ab..71b77e0 100644
--- a/java/org/brotli/wrapper/dec/Decoder.java
+++ b/java/org/brotli/wrapper/dec/Decoder.java
@@ -16,7 +16,7 @@
* Base class for InputStream / Channel implementations.
*/
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 DecoderJNI.Wrapper decoder;
ByteBuffer buffer;
@@ -91,7 +91,7 @@
}
if (bytesRead == 0) {
// No input data is currently available.
- buffer = EMPTY_BUFER;
+ buffer = EMPTY_BUFFER;
return 0;
}
decoder.push(bytesRead);