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

This commit is contained in:
Project Nayuki 2021-07-28 18:47:30 +00:00
parent db2d52116a
commit 219d04a247

View File

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