Undo the ^= true thing in more files
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 10 Jan 2010 12:41:04 +0000 (12:41 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 10 Jan 2010 12:41:04 +0000 (12:41 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1182 59b500cc-1b3d-0410-9834-0bbf25fbcc57

core/src/com/google/zxing/oned/Code128Reader.java
core/src/com/google/zxing/oned/Code39Reader.java
core/src/com/google/zxing/oned/ITFReader.java
core/src/com/google/zxing/oned/UPCEANReader.java

index 0865cc8..981835b 100644 (file)
@@ -211,7 +211,7 @@ public final class Code128Reader extends OneDReader {
           counterPosition++;
         }
         counters[counterPosition] = 1;
-        isWhite ^= true; // isWhite = !isWhite;
+        isWhite = !isWhite;
       }
     }
     throw ReaderException.getInstance();
index f848405..36b7446 100644 (file)
@@ -207,7 +207,7 @@ public final class Code39Reader extends OneDReader {
           counterPosition++;
         }
         counters[counterPosition] = 1;
-        isWhite ^= true; // isWhite = !isWhite;
+        isWhite = !isWhite;
       }
     }
     throw ReaderException.getInstance();
index ca0fabf..93c82dd 100644 (file)
@@ -310,7 +310,7 @@ public final class ITFReader extends OneDReader {
           counterPosition++;\r
         }\r
         counters[counterPosition] = 1;\r
-        isWhite ^= true; // isWhite = !isWhite;\r
+        isWhite = !isWhite;\r
       }\r
     }\r
     throw ReaderException.getInstance();\r
index be74932..be49027 100644 (file)
@@ -266,7 +266,7 @@ public abstract class UPCEANReader extends OneDReader {
           counterPosition++;
         }
         counters[counterPosition] = 1;
-        isWhite ^= true; // isWhite = !isWhite;
+        isWhite = !isWhite;
       }
     }
     throw ReaderException.getInstance();