The GitHub Actions job "CodeQL" on commons-lang.git/master has succeeded.
Run started by GitHub user garydgregory (triggered by garydgregory).

Head commit for run:
4276f1ff387b2e05ef6e8c78e64868dd0621f2d6 / Gary Gregory <[email protected]>
Prevent StringUtils padding from splitting surrogate pairs

Adjust leftPad and rightPad padding boundaries to preserve surrogate
pairs,
also protecting center through delegation. Document the possible
one-char
shortfall and use Unicode escapes in Javadoc examples.

Add tests for mixed padding, repeated patterns, centering, output
lengths,
and surrogate validity.

Applied PR #1813 locally and implemented the follow-up changes:

- Replaced Javadoc emoji literals with Unicode escapes.
- Narrowed the Javadoc guarantee to avoiding newly split surrogate
pairs.
- Added exact-output tests for mixed padding and centering.
- Added length and input-preservation assertions.

Report URL: https://github.com/apache/commons-lang/actions/runs/38918687957

With regards,
GitHub Actions via GitBox

Reply via email to