X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fdatamatrix%2Fdecoder%2FDataBlock.java;h=9a1b4e29b8f67d988052ddaed462fa482255b432;hb=6e7e7c61527df949b0d6a1ac1fac2684d474fbb2;hp=009fb00d7e4e9a940b39b7aef7f6dcbc10717431;hpb=b669dee60fe811b34ddd23de2c266c5766c88574;p=zxing.git diff --git a/core/src/com/google/zxing/datamatrix/decoder/DataBlock.java b/core/src/com/google/zxing/datamatrix/decoder/DataBlock.java index 009fb00d..9a1b4e29 100644 --- a/core/src/com/google/zxing/datamatrix/decoder/DataBlock.java +++ b/core/src/com/google/zxing/datamatrix/decoder/DataBlock.java @@ -1,5 +1,5 @@ /* - * Copyright 2008 Google Inc. + * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -71,7 +71,7 @@ final class DataBlock { // (where n may be 0) have 1 less byte. Figure out where these start. // TODO(bbrown): There is only one case where there is a difference for Data Matrix for size 144 int longerBlocksTotalCodewords = result[0].codewords.length; - int shorterBlocksTotalCodewords = longerBlocksTotalCodewords - 1; + //int shorterBlocksTotalCodewords = longerBlocksTotalCodewords - 1; int longerBlocksNumDataCodewords = longerBlocksTotalCodewords - ecBlocks.getECCodewords(); int shorterBlocksNumDataCodewords = longerBlocksNumDataCodewords - 1;