Migrate StringEscapeUtils methods that write to a Writer to Commons Text
MSALCommons Lang 3 dropped the StringEscapeUtils methods that take a Writer. Replace escapeXml(writer, str) and its siblings with the matching Commons Text translator, as in StringEscapeUtils.ESCAPE_XML10.translate(str, writer).
org. openrewrite. apache. commons. lang. StringEscapeUtilsWriterMethodsToCommonsTextmod run . --recipe= org. openrewrite. apache. commons. lang. StringEscapeUtilsWriterMethodsToCommonsTextInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.