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:
75d71af80ace2d75dab3f6bb82ac2ef91650634e / alhuda 
<[email protected]>
Include 0x7E (~) in RandomStringUtils nextGraph and nextPrint (#1808)

* include 0x7e in RandomStringUtils nextGraph and nextPrint

* Update tests for RandomStringUtils to verify character ranges

Co-authored-by: Copilot Autofix powered by AI 
<[email protected]>

* Assert both range ends in the nextGraph and nextPrint tests

The range-only checks passed whether or not nextGraph and nextPrint were
fixed, so they did not guard the off-by-one. Fold the range check and the
boundary check into one helper that asserts the lowest and highest
documented characters are both generated and that nothing outside the
inclusive range is, and drop the hard-coded probability formula from the
Javadoc in favour of referencing LOOP_COUNT.

---------

Co-authored-by: Gary Gregory <[email protected]>
Co-authored-by: Copilot Autofix powered by AI 
<[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to