mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 19:57:27 -08:00
Issue 1194 small bug fix in array expanding comparisons
git-svn-id: https://zxing.googlecode.com/svn/trunk@2212 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
3b90a72727
commit
a88da9d002
|
@ -249,7 +249,7 @@ public final class CodaBarReader extends OneDReader {
|
|||
private void counterAppend(int e) {
|
||||
counters[counterLength] = e;
|
||||
counterLength++;
|
||||
if (counterLength >= counterLength) {
|
||||
if (counterLength >= counters.length) {
|
||||
int[] temp = new int[counterLength * 2];
|
||||
System.arraycopy(counters, 0, temp, 0, counterLength);
|
||||
counters = temp;
|
||||
|
|
Loading…
Reference in a new issue