You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/apache/commons/compress/compressors/lha/AbstractLhStaticHuffmanCompressorInputStream.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ public void close() throws IOException {
101
101
*
102
102
* @return the copy threshold
103
103
*/
104
-
protectedintgetCopyThreshold() {
104
+
intgetCopyThreshold() {
105
105
return3;
106
106
}
107
107
@@ -110,14 +110,14 @@ protected int getCopyThreshold() {
110
110
*
111
111
* @return the number of bits used for the dictionary size
112
112
*/
113
-
protectedabstractintgetDictionaryBits();
113
+
abstractintgetDictionaryBits();
114
114
115
115
/**
116
116
* Gets the size of the dictionary.
117
117
*
118
118
* @return the size of the dictionary
119
119
*/
120
-
protectedintgetDictionarySize() {
120
+
intgetDictionarySize() {
121
121
return1 << getDictionaryBits();
122
122
}
123
123
@@ -126,14 +126,14 @@ protected int getDictionarySize() {
126
126
*
127
127
* @return the number of bits used for the distance
128
128
*/
129
-
protectedabstractintgetDistanceBits();
129
+
abstractintgetDistanceBits();
130
130
131
131
/**
132
132
* Gets the maximum number of distance codes in the distance tree.
133
133
*
134
134
* @return the maximum number of distance codes
135
135
*/
136
-
protectedintgetMaxNumberOfDistanceCodes() {
136
+
intgetMaxNumberOfDistanceCodes() {
137
137
returngetDictionaryBits() + 1;
138
138
}
139
139
@@ -142,7 +142,7 @@ protected int getMaxNumberOfDistanceCodes() {
142
142
*
143
143
* @return the maximum match length
144
144
*/
145
-
protectedintgetMaxMatchLength() {
145
+
intgetMaxMatchLength() {
146
146
return256;
147
147
}
148
148
@@ -152,7 +152,7 @@ protected int getMaxMatchLength() {
0 commit comments