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 2020/06/03 12:23:15 UTC
[commons-compress] branch master updated: maybe we can make it
static Hi. Can we add a static here?
This is an automated email from the ASF dual-hosted git repository.
bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push:
new a1e0be7 maybe we can make it static Hi. Can we add a static here?
new 18fb261 Merge pull request #107 from XenoAmess/should_we_make_it_static
a1e0be7 is described below
commit a1e0be725078e679776e6d56e20f810c9a7c8a4e
Author: XenoAmess <xe...@gmail.com>
AuthorDate: Wed Jun 3 19:27:30 2020 +0800
maybe we can make it static
Hi.
Can we add a static here?
---
.../apache/commons/compress/compressors/deflate64/HuffmanDecoder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 87c3db9..8517a20 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
@@ -253,7 +253,7 @@ class HuffmanDecoder implements Closeable {
}
}
- private class InitialState extends DecoderState {
+ private static class InitialState extends DecoderState {
@Override
HuffmanState state() {
return INITIAL;