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
\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
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