Remove compile-time reference to DataMatrixReader
[zxing.git] / core / src / com / google / zxing / MultiFormatReader.java
index 6b2c240..ea35440 100644 (file)
@@ -18,7 +18,6 @@ package com.google.zxing;
 
 import com.google.zxing.oned.MultiFormatOneDReader;
 import com.google.zxing.qrcode.QRCodeReader;
-import com.google.zxing.datamatrix.DataMatrixReader;
 
 import java.util.Hashtable;
 import java.util.Vector;
@@ -56,9 +55,10 @@ public final class MultiFormatReader implements Reader {
       if (possibleFormats.contains(BarcodeFormat.QR_CODE)) {
         readers.addElement(new QRCodeReader());
       }
-      if (possibleFormats.contains(BarcodeFormat.DATAMATRIX)) {
-        readers.addElement(new DataMatrixReader());
-      }
+      // TODO re-enable once Data Matrix is ready
+      //if (possibleFormats.contains(BarcodeFormat.DATAMATRIX)) {
+      //  readers.addElement(new DataMatrixReader());
+      //}
       // At end in "try harder" mode
       if (addOneDReader && tryHarder) {
         readers.addElement(new MultiFormatOneDReader());