Skip to content

Commit 5efb8cd

Browse files
committed
Tweaks.
1 parent a816934 commit 5efb8cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public abstract class AsciiCompressor {
3030
* @see #isThrowException()
3131
* @see #isPreserveOriginal()
3232
*/
33-
public AsciiCompressor(byte[] supportedCharset, boolean throwException, boolean preserveOriginal) {
33+
protected AsciiCompressor(byte[] supportedCharset, boolean throwException, boolean preserveOriginal) {
3434
validateSupportedCharset(supportedCharset);
3535

3636
this.supportedCharset = supportedCharset;

src/main/java/com/dannemann/stringcompressor/BaseBinarySearch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public abstract class BaseBinarySearch {
66
protected final boolean prefixSearch;
77
protected final byte[] charset;
88

9-
public BaseBinarySearch(byte[][] compressedData, boolean prefixSearch, byte[] charset) {
9+
protected BaseBinarySearch(byte[][] compressedData, boolean prefixSearch, byte[] charset) {
1010
this.compressedData = compressedData;
1111
this.prefixSearch = prefixSearch;
1212
this.charset = charset;

0 commit comments

Comments
 (0)