Typo in Version 25 spec (thanks Brian)
[zxing.git] / core / src / com / google / zxing / qrcode / decoder / Version.java
index 2bd6648..dd54b86 100755 (executable)
@@ -55,7 +55,7 @@ public final class Version {
                   ECBlocks ecBlocks4) {\r
     this.versionNumber = versionNumber;\r
     this.alignmentPatternCenters = alignmentPatternCenters;\r
-    this.ecBlocks = new ECBlocks[] { ecBlocks1, ecBlocks2, ecBlocks3, ecBlocks4 };\r
+    this.ecBlocks = new ECBlocks[]{ecBlocks1, ecBlocks2, ecBlocks3, ecBlocks4};\r
     int total = 0;\r
     ECBlocks levelLECBlocks = ecBlocks1; // L,M,Q,H -- all the same total\r
     int ecCodewords = levelLECBlocks.ecCodewords;\r
@@ -187,12 +187,12 @@ public final class Version {
 \r
     private ECBlocks(int ecCodewords, ECB ecBlocks) {\r
       this.ecCodewords = ecCodewords;\r
-      this.ecBlocks = new ECB[] { ecBlocks };\r
+      this.ecBlocks = new ECB[]{ecBlocks};\r
     }\r
 \r
     private ECBlocks(int ecCodewords, ECB ecBlocks1, ECB ecBlocks2) {\r
       this.ecCodewords = ecCodewords;\r
-      this.ecBlocks = new ECB[] { ecBlocks1, ecBlocks2 };\r
+      this.ecBlocks = new ECB[]{ecBlocks1, ecBlocks2};\r
     }\r
 \r
     int getECCodewords() {\r
@@ -422,7 +422,7 @@ public final class Version {
             new ECBlocks(30, new ECB(30, 16),\r
                 new ECB(2, 17))),\r
         new Version(25, new int[]{6, 32, 58, 84, 110},\r
-            new ECBlocks(26, new ECB(8, 1061),\r
+            new ECBlocks(26, new ECB(8, 106),\r
                 new ECB(4, 107)),\r
             new ECBlocks(28, new ECB(8, 47),\r
                 new ECB(13, 48)),\r