Simplified code to remove unnecessary `this`, also improving consistency with other field assignments, enabled by a local variable renaming in commit 8dabf86641.

pull/134/head
Project Nayuki 3 years ago
parent db2d52116a
commit 219d04a247

@ -253,7 +253,7 @@ public final class QrCode {
// Compute ECC, draw modules, do masking // Compute ECC, draw modules, do masking
byte[] allCodewords = addEccAndInterleave(dataCodewords); byte[] allCodewords = addEccAndInterleave(dataCodewords);
drawCodewords(tpl.dataOutputBitIndexes, allCodewords); drawCodewords(tpl.dataOutputBitIndexes, allCodewords);
this.mask = handleConstructorMasking(tpl.masks, msk); mask = handleConstructorMasking(tpl.masks, msk);
} }

Loading…
Cancel
Save