mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Avoid another NPE on null ResultPoint
This commit is contained in:
parent
70b02ea882
commit
281721f2d9
|
@ -106,6 +106,9 @@ public final class GenericMultipleBarcodeReader implements MultipleBarcodeReader
|
|||
float maxX = 0.0f;
|
||||
float maxY = 0.0f;
|
||||
for (ResultPoint point : resultPoints) {
|
||||
if (point == null) {
|
||||
continue;
|
||||
}
|
||||
float x = point.getX();
|
||||
float y = point.getY();
|
||||
if (x < minX) {
|
||||
|
|
Loading…
Reference in a new issue