Two tiny improvements to make code more consistent
[zxing.git] / core / src / com / google / zxing / oned / UPCEANReader.java
index be49027..be74932 100644 (file)
@@ -266,7 +266,7 @@ public abstract class UPCEANReader extends OneDReader {
           counterPosition++;
         }
         counters[counterPosition] = 1;
-        isWhite = !isWhite;
+        isWhite ^= true; // isWhite = !isWhite;
       }
     }
     throw ReaderException.getInstance();