mirror of
https://github.com/zxing/zxing.git
synced 2025-02-21 02:55:27 -08:00
Add hint to correct wrong dimension (#1901)
* Add hint to correct wrong dimension
Fix issue #1900
* Revert "Add hint to correct wrong dimension"
This reverts commit 16723b3434
.
* Correct wrong dimension to lower value
Fix issue #1900
* Cleanup code
---------
Co-authored-by: Matthias Agethle <matthias.agethle@elca.ch>
This commit is contained in:
parent
2dfb2054af
commit
6ae11863c7
|
@ -211,7 +211,8 @@ public class Detector {
|
|||
dimension--;
|
||||
break;
|
||||
case 3:
|
||||
throw NotFoundException.getNotFoundInstance();
|
||||
dimension -= 2;
|
||||
break;
|
||||
}
|
||||
return dimension;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue