mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Reject short Code 39 -- too likely to be a false positive
git-svn-id: https://zxing.googlecode.com/svn/trunk@1884 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
fa5c84a0cf
commit
4863e3ed8c
|
@ -150,7 +150,7 @@ public final class Code39Reader extends OneDReader {
|
|||
result.deleteCharAt(max);
|
||||
}
|
||||
|
||||
if (result.length() == 0) {
|
||||
if (result.length() < 4) {
|
||||
// Almost surely a false positive
|
||||
throw NotFoundException.getNotFoundInstance();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue