From bb22bfec6deae04b095d813b46509b99628e4d27 Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Fri, 8 Dec 2023 11:16:25 +0100 Subject: [PATCH] Groovy 3.0.19 compatibility (#485) * Upgrade to Groovy 3.0.19 * Make project compatible with Groovy 3.0.19 * Revert to Groovy 3.0.11 --- .../grails/plugin/json/view/test/TestRequestConfigurer.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/src/main/groovy/grails/plugin/json/view/test/TestRequestConfigurer.groovy b/json/src/main/groovy/grails/plugin/json/view/test/TestRequestConfigurer.groovy index b56f3b144..754f6f525 100644 --- a/json/src/main/groovy/grails/plugin/json/view/test/TestRequestConfigurer.groovy +++ b/json/src/main/groovy/grails/plugin/json/view/test/TestRequestConfigurer.groovy @@ -26,7 +26,7 @@ class TestRequestConfigurer implements Request { String contentType = 'application/json' String characterEncoding = 'UTF-8' Map> headers = new LinkedHashMap>().withDefault { String name -> - return [] + return [] as List } Map attributes = new LinkedHashMap()