Migrate deprecated SystemUtils constants

MSAL

Replaces deprecated constants in org.apache.commons.lang3.SystemUtils with their recommended replacements (e.g., File.separator, System.lineSeparator()).

org.openrewrite.apache.commons.lang3.MigrateSystemUtilsDeprecations
mod run . --recipe=org.openrewrite.apache.commons.lang3.MigrateSystemUtilsDeprecations

Install 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.

  1. Replace constant with another constant
  2. Replace constant with another constant
  3. Change static field access to static method access SystemUtils#LINE_SEPARATOR to lineSeparator
  4. Replace constant with another constant
  5. Replace constant with another constant
  6. Replace constant with another constant
  7. Replace constant with another constant
  8. Replace constant with another constant
  9. Replace constant with another constant