Two tiny improvements to make code more consistent

git-svn-id: https://zxing.googlecode.com/svn/trunk@1170 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2010-01-03 16:15:39 +00:00
parent a5c6c1c0ff
commit d71f40fef6
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ public abstract class OneDReader implements Reader {
break; break;
} else { } else {
counters[counterPosition] = 1; counters[counterPosition] = 1;
isWhite = !isWhite; isWhite ^= true; // isWhite = !isWhite;
} }
} }
i++; i++;

View file

@ -266,7 +266,7 @@ public abstract class UPCEANReader extends OneDReader {
counterPosition++; counterPosition++;
} }
counters[counterPosition] = 1; counters[counterPosition] = 1;
isWhite = !isWhite; isWhite ^= true; // isWhite = !isWhite;
} }
} }
throw ReaderException.getInstance(); throw ReaderException.getInstance();