Remove illegal semicolons

MSAL

Remove semicolons after package declarations and imports, no longer accepted in Java 21 as of JDK-8027682.

org.openrewrite.java.migrate.RemoveIllegalSemicolons
mod run . --recipe=org.openrewrite.java.migrate.RemoveIllegalSemicolons

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. Remove extra semicolons