From 6a5fdc5687339093e5059c0d1b49e166803511d2 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Sun, 7 Oct 2018 05:51:58 +0000 Subject: [PATCH] Tweaked whitespace for consistency. --- src/io/nayuki/fastqrcodegen/QrCode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io/nayuki/fastqrcodegen/QrCode.java b/src/io/nayuki/fastqrcodegen/QrCode.java index bd6e51a..b6d5f85 100644 --- a/src/io/nayuki/fastqrcodegen/QrCode.java +++ b/src/io/nayuki/fastqrcodegen/QrCode.java @@ -139,7 +139,7 @@ public final class QrCode { Objects.requireNonNull(dataCodewords); QrTemplate tpl = QrTemplate.getInstance(ver); - modules = tpl.template.clone(); + modules = tpl.template.clone(); // Compute ECC, draw modules, do masking byte[] allCodewords = addEccAndInterleave(dataCodewords); @@ -241,7 +241,7 @@ public final class QrCode { int rem = data; for (int i = 0; i < 10; i++) rem = (rem << 1) ^ ((rem >>> 9) * 0x537); - int bits = (data << 10 | rem) ^ 0x5412; // uint15 + int bits = (data << 10 | rem) ^ 0x5412; // uint15 assert bits >>> 15 == 0; // Draw first copy