Migrate WordUtils to Apache Commons Text
MSALMigrate org.apache.commons.lang.WordUtils to org.apache.commons.text.WordUtils and add the Commons Text dependency.
org. openrewrite. apache. commons. lang. WordUtilsToCommonsTextmod run . --recipe= org. openrewrite. apache. commons. lang. WordUtilsToCommonsTextInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Add Gradle or Maven dependency
org.apache.commons:commons-text:1.x - Add Gradle or Maven dependency
org.apache.commons:commons-text:1.x - Add Gradle or Maven dependency
org.apache.commons:commons-text:1.x - Change type
org.apache.commons.lang.WordUtilstoorg.apache.commons.text.WordUtils - Rename package name
org.apache.commons.lang.texttoorg.apache.commons.text - Rename package name
org.apache.commons.lang3.texttoorg.apache.commons.text - Parameterize raw
StrLookupsubclasses