From 4f072f67eeb64f243210215ecd1e07d406f61e73 Mon Sep 17 00:00:00 2001 From: srowen Date: Tue, 2 Mar 2010 14:58:18 +0000 Subject: [PATCH] Per Brad Threatt -- don't fail early on NotFoundException when finding multiple finder patterns git-svn-id: https://zxing.googlecode.com/svn/trunk@1232 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../com/google/zxing/multi/qrcode/detector/MultiDetector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/com/google/zxing/multi/qrcode/detector/MultiDetector.java b/core/src/com/google/zxing/multi/qrcode/detector/MultiDetector.java index d3797d9e8..584c41404 100644 --- a/core/src/com/google/zxing/multi/qrcode/detector/MultiDetector.java +++ b/core/src/com/google/zxing/multi/qrcode/detector/MultiDetector.java @@ -16,8 +16,8 @@ package com.google.zxing.multi.qrcode.detector; -import com.google.zxing.FormatException; import com.google.zxing.NotFoundException; +import com.google.zxing.ReaderException; import com.google.zxing.common.BitMatrix; import com.google.zxing.common.DetectorResult; import com.google.zxing.qrcode.detector.Detector; @@ -54,7 +54,7 @@ public final class MultiDetector extends Detector { for (int i = 0; i < info.length; i++) { try { result.addElement(processFinderPatternInfo(info[i])); - } catch (FormatException e) { + } catch (ReaderException e) { // ignore } }