Turned on ITF support in the Android client, and fixed a bug in the ITF result points...
[zxing.git] / core / src / com / google / zxing / oned / MultiFormatOneDReader.java
index 84a1ba9..ea0d197 100644 (file)
@@ -49,17 +49,15 @@ public final class MultiFormatOneDReader extends AbstractOneDReader {
       if (possibleFormats.contains(BarcodeFormat.CODE_128)) {
         readers.addElement(new Code128Reader());
       }
-      // TODO: Add ITFReader once it is validated as production ready. 
-      //if (possibleFormats.contains(BarcodeFormat.ITF)) {
-      //   readers.addElement(new ITFReader());
-      //}
+      if (possibleFormats.contains(BarcodeFormat.ITF)) {
+         readers.addElement(new ITFReader());
+      }
     }
     if (readers.isEmpty()) {
       readers.addElement(new MultiFormatUPCEANReader(hints));
       readers.addElement(new Code39Reader());
       readers.addElement(new Code128Reader());
-      // TODO: Add ITFReader once it is validated as production ready.
-      //readers.addElement(new ITFReader());
+      readers.addElement(new ITFReader());
     }
   }