Cast parsed JWTs to their declared type
ProprietaryBefore JJWT 0.12, JwtParser#parse(..) returned a raw Jwt, which could be assigned to a parameterized type such as Jwt<Header, Claims>. It returns a Jwt<?, ?> since, which can't. Casts the result to the declared type, an unchecked conversion as before.
org. openrewrite. java. security. jjwt. CastParsedJwtsmod run . --recipe= org. openrewrite. java. security. jjwt. CastParsedJwtsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.