mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 19:57:27 -08:00
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:
parent
9fab25f005
commit
4f072f67ee
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue