From 6ca9c45e3e7dc15aed1bffc990554dc0ccc4b422 Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Fri, 1 Dec 2023 14:44:38 +0100 Subject: [PATCH] Make project compatible with Groovy 3.0.19 --- .../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()