This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch responseRenderer
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit db75574d8f7b649fa132d7037df60ee0aef44e91
Author: James Daugherty <[email protected]>
AuthorDate: Thu Aug 28 11:37:05 2025 -0400

    Explicitly type render(object) to help IntelliJ ambiguous method overloading
---
 .../groovy/grails/artefact/controller/support/ResponseRenderer.groovy   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/grails-controllers/src/main/groovy/grails/artefact/controller/support/ResponseRenderer.groovy
 
b/grails-controllers/src/main/groovy/grails/artefact/controller/support/ResponseRenderer.groovy
index 620413dc52..8ef0a3576e 100644
--- 
a/grails-controllers/src/main/groovy/grails/artefact/controller/support/ResponseRenderer.groovy
+++ 
b/grails-controllers/src/main/groovy/grails/artefact/controller/support/ResponseRenderer.groovy
@@ -130,7 +130,7 @@ trait ResponseRenderer extends WebAttributes {
      * @param object The object to render
      */
     @Generated
-    void render(object) {
+    void render(Object object) {
         GrailsWebRequest webRequest = (GrailsWebRequest) 
RequestContextHolder.currentRequestAttributes()
         HttpServletResponse response = webRequest.currentResponse
         webRequest.renderView = false

Reply via email to