Use System.lineSeparator()
MSALReplace calls to System.getProperty("line.separator") with System.lineSeparator().
org. openrewrite. staticanalysis. UseSystemLineSeparatormod run . --recipe= org. openrewrite. staticanalysis. UseSystemLineSeparatorInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.