Skip to content

Commit db75574

Browse files
committed
Explicitly type render(object) to help IntelliJ ambiguous method overloading
1 parent 6d70093 commit db75574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-controllers/src/main/groovy/grails/artefact/controller/support/ResponseRenderer.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ trait ResponseRenderer extends WebAttributes {
130130
* @param object The object to render
131131
*/
132132
@Generated
133-
void render(object) {
133+
void render(Object object) {
134134
GrailsWebRequest webRequest = (GrailsWebRequest) RequestContextHolder.currentRequestAttributes()
135135
HttpServletResponse response = webRequest.currentResponse
136136
webRequest.renderView = false

0 commit comments

Comments
 (0)