Replace DefaultClock with Date
ProprietaryReplaces DefaultClock.INSTANCE, which JJWT 0.10 moved to the runtime-only jjwt-impl jar, with Date::new where a Clock is expected, and DefaultClock.INSTANCE.now() with new Date(). Other uses are left for a manual migration.
org. openrewrite. java. security. jjwt. ReplaceDefaultClockmod run . --recipe= org. openrewrite. java. security. jjwt. ReplaceDefaultClockInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.