Use String::replace() when first parameter is not a real regular expression
MSALWhen String::replaceAll is used, the first argument should be a real regular expression. If that's not the case, String::replace does exactly the same thing as String::replaceAll without the performance drawback of the regex.
org. openrewrite. staticanalysis. UseStringReplacemod run . --recipe= org. openrewrite. staticanalysis. UseStringReplaceInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.