aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAayush Atharva <hyperx.pro@outlook.com>2021-01-08 17:54:44 +0530
committerGitHub <noreply@github.com>2021-01-08 13:24:44 +0100
commitf16845614dd2c5a7de054a6dd9617296d7e25c30 (patch)
treecc240f6e3b24421bb33ec082d57464be36225f01 /java
parent0e8afdc968f3b7c891379e558b8dcaf42d93703b (diff)
downloadbrotli-f16845614dd2c5a7de054a6dd9617296d7e25c30.zip
brotli-f16845614dd2c5a7de054a6dd9617296d7e25c30.tar.gz
brotli-f16845614dd2c5a7de054a6dd9617296d7e25c30.tar.bz2
Fix typo in variable name (#854)
* Fix typo in variable name * Fix compile error
Diffstat (limited to 'java')
-rw-r--r--java/org/brotli/wrapper/dec/Decoder.java4
1 files changed, 2 insertions, 2 deletions
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 @@ import java.util.ArrayList;
* 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 @@ public class Decoder {
}
if (bytesRead == 0) {
// No input data is currently available.
- buffer = EMPTY_BUFER;
+ buffer = EMPTY_BUFFER;
return 0;
}
decoder.push(bytesRead);