Skip to content

Commit 71b9418

Browse files
committed
Tweaks.
1 parent 2631f84 commit 71b9418

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/stringcompressor/AsciiCompressor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public abstract class AsciiCompressor {
1414
// Fields:
1515

1616
protected final byte[] supportedCharset;
17-
protected final byte[] lookupTable = new byte[128]; // ASCII range.
1817

1918
/**
2019
* To avoid duplicating strings and save memory, the compressor will modify
@@ -29,6 +28,8 @@ public abstract class AsciiCompressor {
2928
*/
3029
protected boolean throwException;
3130

31+
private final byte[] lookupTable = new byte[128]; // ASCII range.
32+
3233
// Constructor:
3334

3435
public AsciiCompressor(byte[] supportedCharset) {

0 commit comments

Comments
 (0)