mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Avoid a false positive on empty PDF 417
git-svn-id: https://zxing.googlecode.com/svn/trunk@2218 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
99d4b42b91
commit
596e4a0871
|
@ -119,6 +119,9 @@ final class DecodedBitStreamParser {
|
|||
throw FormatException.getFormatInstance();
|
||||
}
|
||||
}
|
||||
if (result.length() == 0) {
|
||||
throw FormatException.getFormatInstance();
|
||||
}
|
||||
return new DecoderResult(null, result.toString(), null, null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue