/*\r
- * Copyright 2007 Google Inc.\r
+ * Copyright 2007 ZXing authors\r
*\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
* <p>Deduces version information from Data Matrix dimensions.</p>\r
*\r
* @param numRows Number of rows in modules\r
- * @param numRows Number of columns in modules\r
+ * @param numColumns Number of columns in modules\r
* @return {@link Version} for a Data Matrix Code of those dimensions\r
* @throws ReaderException if dimensions do correspond to a valid Data Matrix size\r
*/\r
* will be the same across all blocks within one version.</p>\r
*/\r
static final class ECBlocks {\r
- private int ecCodewords;\r
- private ECB[] ecBlocks;\r
+ private final int ecCodewords;\r
+ private final ECB[] ecBlocks;\r
\r
private ECBlocks(int ecCodewords, ECB ecBlocks) {\r
this.ecCodewords = ecCodewords;\r
* parameters is used consecutively in the Data Matrix code version's format.</p>\r
*/\r
static final class ECB {\r
- private int count;\r
- private int dataCodewords;\r
+ private final int count;\r
+ private final int dataCodewords;\r
\r
private ECB(int count, int dataCodewords) {\r
this.count = count;\r