Skip to content

Commit 2de8a1e

Browse files
committed
refactor: make IS_ZLIB_COMPATIBLE constant in ZlibUtils
1 parent 5c0d584 commit 2de8a1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HMCLCore/src/main/java/org/jackhuang/hmcl/util/ZlibUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public final class ZlibUtils {
4545
/// be relaxed to a structural integrity check rather than an exact hash match,
4646
/// because the alternative zlib may legitimately produce files with different
4747
/// checksums.
48-
public static boolean IS_ZLIB_COMPATIBLE;
48+
public static final boolean IS_ZLIB_COMPATIBLE;
4949

5050
static {
5151
var expectedCompressed = new byte[]{120, -100, 99, 96, 0, 2, 0, 0, 5, 0, 1};

0 commit comments

Comments
 (0)