Replace DefaultClock with Date

Proprietary

Replaces 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.ReplaceDefaultClock
mod run . --recipe=org.openrewrite.java.security.jjwt.ReplaceDefaultClock

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