fix: add null input validation to AlternativeStringArrange.arrange() (#7425)
* fix: add null input validation to AlternativeStringArrange.arrange() The arrange() method previously threw a NullPointerException when either input string was null. This change explicitly validates the inputs and throws IllegalArgumentException with a clear message, matching the fail-fast pattern used by other utility classes in this package (e.g. HammingDistance). - Add null guard at the start of arrange() - Update Javadoc with @throws and contract notes - Add parameterized test covering all three null-input combinations * fix: remove unused JUnit @Test import (Checkstyle violation)
S
Shubham Bhati committed
4b8099c27b4f7fe7dc465d80ed0a5d9e78bd4153
Parent: 8848ed1
Committed by GitHub <noreply@github.com>
on 5/18/2026, 7:37:32 AM