Replace String literal
MSALReplace the value of a complete String literal.
org. openrewrite. java. migrate. ReplaceStringLiteralValueRequired
The String value to replace.
The String value to replace with.
mod run . --recipe= org. openrewrite. java. migrate. ReplaceStringLiteralValue \
-P oldLiteralValue= apple \
-P newLiteralValue= orangeInstall 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.