Skip to content

Replace plexus-utils StringUtils with JDK calls - #462

Merged
slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:drop-plexus-stringutils
Nov 14, 2026
Merged

slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:drop-plexus-stringutils

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Removes the StringUtils calls from five mojos, with the same results for null and empty input. The code targets Java 8, so repeat and isBlank are written with Collections.nCopies and Character.isWhitespace instead of the Java 11 String methods.


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

@slachiewicz
slachiewicz marked this pull request as ready for review November 14, 2026 13:07
@slachiewicz
slachiewicz merged commit ea69b66 into apache:master Nov 14, 2026
14 checks passed
@github-actions github-actions Bot added this to the 3.6.0 milestone Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants