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
This commit is contained in:
srowen 2010-03-02 14:58:18 +00:00
parent 9fab25f005
commit 4f072f67ee

View file

@ -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
}
}