mirror of
https://github.com/zxing/zxing.git
synced 2025-01-26 10:31:20 -08:00
f0dfcdfed5
* Fixed bug #593 Bug #593 was misleadingly reported as pertaining to another project, but testing revealed it affected this project as well. The Code128 encoding algorithm failed when an odd number of digits were followed by FNC1 and other digits. The code selection algorithm was rewritten. A test case showing the bug was added, and an old test case was updated to expect the result of the new algorithm - another valid encoding of the same length as the old one. * Fixed bug #593 Bug #593 was misleadingly reported as pertaining to another project, but testing revealed it affected this project as well. The Code128 encoding algorithm failed when an odd number of digits were followed by FNC1 and other digits. The code selection algorithm was rewritten. A test case showing the bug was added, and an old test case was updated to expect the result of the new algorithm - another valid encoding of the same length as the old one. * Cleaning up Added a private enum and changed some names to improve readability. Also some trivial cosmetic changes. * Further cleanup of Code128 writer test Removed a private one-liner method used exactly once, alphabetized imports. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
pom.xml |