Migrate deprecated SystemUtils constants
MSALReplaces deprecated constants in org.apache.commons.lang3.SystemUtils with their recommended replacements (e.g., File.separator, System.lineSeparator()).
org. openrewrite. apache. commons. lang3. MigrateSystemUtilsDeprecationsmod run . --recipe= org. openrewrite. apache. commons. lang3. MigrateSystemUtilsDeprecationsInstall 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.
- Replace constant with another constant
- Replace constant with another constant
- Change static field access to static method access
SystemUtils#LINE_SEPARATORtolineSeparator - Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant