This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
The following commit(s) were added to refs/heads/master by this push:
new 55366491 Format tweaks
55366491 is described below
commit 55366491569bf90b250e2a48234365f635547219
Author: Gary Gregory <[email protected]>
AuthorDate: Fri May 12 18:36:41 2023 -0400
Format tweaks
---
.../org/apache/commons/imaging/common/mylzw/MyLzwDecompressor.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/src/main/java/org/apache/commons/imaging/common/mylzw/MyLzwDecompressor.java
b/src/main/java/org/apache/commons/imaging/common/mylzw/MyLzwDecompressor.java
index 5054e67f..b95d6277 100644
---
a/src/main/java/org/apache/commons/imaging/common/mylzw/MyLzwDecompressor.java
+++
b/src/main/java/org/apache/commons/imaging/common/mylzw/MyLzwDecompressor.java
@@ -26,11 +26,14 @@ import java.util.Arrays;
import org.apache.commons.imaging.ImageReadException;
public final class MyLzwDecompressor {
+
public interface Listener {
+
void code(int code);
void init(int clearCode, int eoiCode);
}
+
private static final int MAX_TABLE_SIZE = 1 << 12;
private final byte[][] table;
private int codeSize;