mirror of
https://github.com/zxing/zxing.git
synced 2025-01-14 12:48:03 -08:00
Commented out references to ITFReader until it is validated as production ready. git-svn-id: https://zxing.googlecode.com/svn/trunk@754 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
87e0ba7523
commit
1e9123b0af
|
@ -49,16 +49,17 @@ public final class MultiFormatOneDReader extends AbstractOneDReader {
|
||||||
if (possibleFormats.contains(BarcodeFormat.CODE_128)) {
|
if (possibleFormats.contains(BarcodeFormat.CODE_128)) {
|
||||||
readers.addElement(new Code128Reader());
|
readers.addElement(new Code128Reader());
|
||||||
}
|
}
|
||||||
|
// TODO: Add ITFReader once it is validated as production ready.
|
||||||
if (possibleFormats.contains(BarcodeFormat.ITF)) {
|
//if (possibleFormats.contains(BarcodeFormat.ITF)) {
|
||||||
readers.addElement(new ITFReader());
|
// readers.addElement(new ITFReader());
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
if (readers.isEmpty()) {
|
if (readers.isEmpty()) {
|
||||||
readers.addElement(new MultiFormatUPCEANReader(hints));
|
readers.addElement(new MultiFormatUPCEANReader(hints));
|
||||||
readers.addElement(new Code39Reader());
|
readers.addElement(new Code39Reader());
|
||||||
readers.addElement(new Code128Reader());
|
readers.addElement(new Code128Reader());
|
||||||
readers.addElement(new ITFReader());
|
// TODO: Add ITFReader once it is validated as production ready.
|
||||||
|
//readers.addElement(new ITFReader());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ public final class ITFBlackBox1TestCase extends AbstractBlackBoxTestCase {
|
||||||
|
|
||||||
public ITFBlackBox1TestCase() {
|
public ITFBlackBox1TestCase() {
|
||||||
super(new File("test/data/blackbox/itf-1"), new MultiFormatReader(), BarcodeFormat.ITF);
|
super(new File("test/data/blackbox/itf-1"), new MultiFormatReader(), BarcodeFormat.ITF);
|
||||||
addTest(6, 6, 0.0f);
|
addTest(0, 0, 0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue