Use IOUtils method that include their charset encoding
MSALUse IOUtils method invocations that include the charset encoding instead of using the deprecated versions that do not include a charset encoding. (e.g. converts IOUtils.readLines(inputStream) to IOUtils.readLines(inputStream, StandardCharsets.UTF_8).
org. openrewrite. apache. commons. io. ApacheIOUtilsUseExplicitCharsetOptional
The default encoding to use, must be a standard charset.
mod run . --recipe= org. openrewrite. apache. commons. io. ApacheIOUtilsUseExplicitCharsetInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.