mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
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:
parent
20df62a8af
commit
4cc490db56
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue