Skip to content

Commit

Permalink
minor syntax fix for Groovy on JDK 7
Browse files Browse the repository at this point in the history
  • Loading branch information
lhazlewood committed Aug 4, 2023
1 parent abf3f07 commit 4c737dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import static org.junit.Assert.*

class StandardAlgorithmsTest {

static def registries = [Jwts.SIG.get(), Jwts.ENC.get(), Jwts.KEY.get(), Jwts.ZIP.get(), Jwks.HASH.get()] as List<Registry<String, ?>>
static final List<Registry<String,?>> registries = [Jwts.SIG.get(), Jwts.ENC.get(), Jwts.KEY.get(), Jwts.ZIP.get(), Jwks.HASH.get()]

private static void eachRegAlg(Closure c) {
registries.each { reg -> reg.values().each { c(reg, it) } }
Expand Down

0 comments on commit 4c737dd

Please sign in to comment.