zxing/core
François Tiercelin 2dfb2054af
Some checks failed
CodeQL / Analyze (java) (push) Has been cancelled
Test Java 17 / build (push) Has been cancelled
Test Java 21 / build (push) Has been cancelled
Test Java 8 / build (push) Has been cancelled
Fixing issue #1831 (#1879)
* throw a more explicit exception when trying to PDF417/TEXT encode something outside of 0...255

* refactor PDF417HighLevelEncoder to avoid code duplication
extend UT to new method PDF417HighLevelEncoder#checkCharset

* fix javadoc typo
make UT more stringent on PDF417HighLevelEncoder#checkCharset

* restrict TEXT to 0...127
test with CP437 and Greek chars

* reinstate testEncodeAuto UT

* refactor testEncodeAuto UT

* address codacy findings

* formatting

* fix issue #1831
make PDF417#determineDimensions to enable finer UT
add UT coverage to validate fix for #1831

* fix javadoc for PDF417#determineDimensions
remove stacktrace when UT fails

* make UT Java 8 compliant
2024-11-17 10:25:04 -06:00
..
src Fixing issue #1831 (#1879) 2024-11-17 10:25:04 -06:00
bnd.bnd Fix #957 - Provide OSGi Metadata in Manifest (#958) 2018-02-16 17:35:41 -06:00
pom.xml [maven-release-plugin] prepare for next development iteration 2024-01-30 18:37:17 -06:00