You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2018/01/12 16:26:53 UTC
[2/3] commons-compress git commit: whitespace
whitespace
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/e8720d6a
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/e8720d6a
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/e8720d6a
Branch: refs/heads/master
Commit: e8720d6a93e80aa77ad5a66f217a362a512ba93c
Parents: 90d775c
Author: Stefan Bodewig <bo...@apache.org>
Authored: Fri Jan 12 17:23:24 2018 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Fri Jan 12 17:23:24 2018 +0100
----------------------------------------------------------------------
.../commons/compress/compressors/deflate64/HuffmanDecoder.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/e8720d6a/src/main/java/org/apache/commons/compress/compressors/deflate64/HuffmanDecoder.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/deflate64/HuffmanDecoder.java b/src/main/java/org/apache/commons/compress/compressors/deflate64/HuffmanDecoder.java
index 267fa68..62d19d9 100644
--- a/src/main/java/org/apache/commons/compress/compressors/deflate64/HuffmanDecoder.java
+++ b/src/main/java/org/apache/commons/compress/compressors/deflate64/HuffmanDecoder.java
@@ -128,7 +128,7 @@ class HuffmanDecoder implements Closeable {
public int decode(byte[] b) throws IOException {
return decode(b, 0, b.length);
}
-
+
public int decode(byte[] b, int off, int len) throws IOException {
while (!finalBlock || state.hasData()) {
switch (state.state()) {
@@ -303,7 +303,7 @@ class HuffmanDecoder implements Closeable {
dist += readBits(distXtra);
if (runBuffer.length < run) {
- runBuffer = new byte[run];
+ runBuffer = new byte[run];
}
runBufferLength = run;
runBufferPos = 0;