The GitHub Actions job "Java CI" on commons-lang.git has failed. Run started by GitHub user garydgregory (triggered by garydgregory).
Head commit for run: 19fa964de7c43e5e440f293d7341e0c4be681b4a / hduelme <[email protected]> Improve performance of StringUtils.isMixedCase() (#1096) * improve performance of isMixedCase The changes optimize the mixed-case detecting function in StringUtils.java by reducing redundant character property checks. The loop will now return early when both uppercase and lowercase are present, preventing further unnecessary operations. It also introduces a local variable to store the character being checked, reducing the number of method calls to get the character. The end return statement is also simplified to return false, as the true condition has already been covered inside the loop. * add test to prove better performance * Add Apache license header to StringUtilsIsMixedCaseTest.java file * Fix Checkstyle issues --------- Co-authored-by: Gary Gregory <[email protected]> Report URL: https://github.com/apache/commons-lang/actions/runs/5881930514 With regards, GitHub Actions via GitBox
