The GitHub Actions job "Java CI" on commons-lang.git/master has succeeded. Run started by GitHub user garydgregory (triggered by garydgregory).
Head commit for run: 4a6a98432f57e6286ba48777268a26b68dfd9547 / ThrawnCA <[email protected]> StringUtils.abbreviate(String, String, int) contract violations (#1572) * add unit tests showing mishandling of null abbrevMarker * fix handling of null abbrevMarker - treat null marker as empty string - ensure offset and maxWidth are applied as usual (simple 'substring' won't cut it) * add unit tests showing 'abbreviate' contract violations - Abbreviated strings should always retain the 'offset' character * remove surplus blank lines from tests * fix StringUtils.abbreviate for short strings Adjust logic so it doesn't overwrite the offset value and get confused about which character to preserve. Instead, just return immediately if the offset is so close to the end that no ending abbrevMarker is possible. Report URL: https://github.com/apache/commons-lang/actions/runs/21927985960 With regards, GitHub Actions via GitBox
