* @return an array of codewords.\r
*/\r
int[] readCodewords() throws FormatException {\r
- int width = bitMatrix.getDimension();\r
+ int width = bitMatrix.getWidth();\r
// TODO should be a rectangular matrix\r
int height = width;\r
\r
*/\r
int processRow(int[] rowCounters, int rowNumber, int rowHeight, int[] codewords, int next)\r
throws FormatException {\r
- int width = bitMatrix.getDimension();\r
+ int width = bitMatrix.getWidth();\r
int columnNumber = 0;\r
long symbol = 0;\r
for (int i = 0; i < width; i += MODULES_IN_SYMBOL) {\r