From 6c3ccf6a7487fba343d470eb122145d4de181ef2 Mon Sep 17 00:00:00 2001 From: "kev.sully" Date: Fri, 21 Nov 2008 09:40:13 +0000 Subject: [PATCH 1/1] ISSUE: http://code.google.com/p/zxing/issues/detail?id=110 Commented out references to ITFReader until it is validated as production ready. git-svn-id: http://zxing.googlecode.com/svn/trunk@754 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../com/google/zxing/oned/MultiFormatOneDReader.java | 11 ++++++----- .../com/google/zxing/oned/ITFBlackBox1TestCase.java | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/core/src/com/google/zxing/oned/MultiFormatOneDReader.java b/core/src/com/google/zxing/oned/MultiFormatOneDReader.java index bf501ba7..84a1ba9c 100644 --- a/core/src/com/google/zxing/oned/MultiFormatOneDReader.java +++ b/core/src/com/google/zxing/oned/MultiFormatOneDReader.java @@ -49,16 +49,17 @@ public final class MultiFormatOneDReader extends AbstractOneDReader { if (possibleFormats.contains(BarcodeFormat.CODE_128)) { readers.addElement(new Code128Reader()); } - - if (possibleFormats.contains(BarcodeFormat.ITF)) { - readers.addElement(new ITFReader()); - } + // TODO: Add ITFReader once it is validated as production ready. + //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()); - readers.addElement(new ITFReader()); + // TODO: Add ITFReader once it is validated as production ready. + //readers.addElement(new ITFReader()); } } diff --git a/core/test/src/com/google/zxing/oned/ITFBlackBox1TestCase.java b/core/test/src/com/google/zxing/oned/ITFBlackBox1TestCase.java index e6682f6f..47e4e249 100644 --- a/core/test/src/com/google/zxing/oned/ITFBlackBox1TestCase.java +++ b/core/test/src/com/google/zxing/oned/ITFBlackBox1TestCase.java @@ -29,7 +29,7 @@ public final class ITFBlackBox1TestCase extends AbstractBlackBoxTestCase { public ITFBlackBox1TestCase() { super(new File("test/data/blackbox/itf-1"), new MultiFormatReader(), BarcodeFormat.ITF); - addTest(6, 6, 0.0f); + addTest(0, 0, 0.0f); } } \ No newline at end of file -- 2.20.1