Moved QrCode class's max/min version constants, tweaked associated comments and blank lines.

pull/134/head
Project Nayuki 6 years ago
parent 6a5fdc5687
commit 820b2ca60a

@ -104,13 +104,6 @@ public final class QrCode {
/*---- Public constants ----*/
public static final int MIN_VERSION = 1;
public static final int MAX_VERSION = 40;
/*---- Instance fields ----*/ /*---- Instance fields ----*/
public final int version; public final int version;
@ -459,7 +452,11 @@ public final class QrCode {
} }
/*---- Private tables of constants ----*/ /*---- Constants and tables ----*/
public static final int MIN_VERSION = 1;
public static final int MAX_VERSION = 40;
// For use in getPenaltyScore(), when evaluating which mask is best. // For use in getPenaltyScore(), when evaluating which mask is best.
private static final int PENALTY_N1 = 3; private static final int PENALTY_N1 = 3;

Loading…
Cancel
Save