Partially addressed Reed-Solomon decoding issue for Datamatrix, but not entirely...
[zxing.git] / core / src / com / google / zxing / datamatrix / decoder / DataBlock.java
index 009fb00..9a1b4e2 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright 2008 Google Inc.\r
+ * Copyright 2008 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
@@ -71,7 +71,7 @@ final class DataBlock {
     // (where n may be 0) have 1 less byte. Figure out where these start.\r
     // TODO(bbrown): There is only one case where there is a difference for Data Matrix for size 144\r
     int longerBlocksTotalCodewords = result[0].codewords.length;\r
-    int shorterBlocksTotalCodewords = longerBlocksTotalCodewords - 1;\r
+    //int shorterBlocksTotalCodewords = longerBlocksTotalCodewords - 1;\r
 \r
     int longerBlocksNumDataCodewords = longerBlocksTotalCodewords - ecBlocks.getECCodewords();\r
     int shorterBlocksNumDataCodewords = longerBlocksNumDataCodewords - 1;\r