Remove System.out#println and System.err#println statements

MSAL

Print statements are often left accidentally after debugging an issue. This recipe removes all System.out#println and System.err#println statements from the code. Production code should use a proper logging framework which provides consistent formatting, configurable log levels, and centralized output control.

org.openrewrite.staticanalysis.RemoveSystemOutPrintln
mod run . --recipe=org.openrewrite.staticanalysis.RemoveSystemOutPrintln

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.