diff --git a/src/io/nayuki/fastqrcodegen/QrTemplate.java b/src/io/nayuki/fastqrcodegen/QrTemplate.java index e218ed0..b31da45 100644 --- a/src/io/nayuki/fastqrcodegen/QrTemplate.java +++ b/src/io/nayuki/fastqrcodegen/QrTemplate.java @@ -23,6 +23,8 @@ package io.nayuki.fastqrcodegen; +import static io.nayuki.fastqrcodegen.QrCode.MAX_VERSION; +import static io.nayuki.fastqrcodegen.QrCode.MIN_VERSION; import java.lang.ref.SoftReference; @@ -72,9 +74,6 @@ final class QrTemplate { } - private static final int MIN_VERSION = 1; - private static final int MAX_VERSION = 40; - @SuppressWarnings("unchecked") private static final SoftReference[] cache = new SoftReference[MAX_VERSION + 1];