Remove compile-time reference to DataMatrixReader

git-svn-id: https://zxing.googlecode.com/svn/trunk@426 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-06-12 16:30:01 +00:00
parent 20df62a8af
commit 4cc490db56

View 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());