This is an automated email from the ASF dual-hosted git repository. borinquenkid pushed a commit to branch 9.0.x-h7-improvement-phase3 in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 58b54c0ae543f11df06292b058fe6bcc9b840aea Author: Walter Duque de Estrada <[email protected]> AuthorDate: Wed Oct 7 18:01:33 2026 -0500 style: name intentionally empty catch parameters ignored in grails-controllers CodeNarc EmptyCatchBlock only accepts an empty catch block whose parameter is named ignored. Pure parameter renames, no behaviour change. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --- .../plugins/web/controllers/SecurityHeadersResponseWrapper.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-controllers/src/main/groovy/org/grails/plugins/web/controllers/SecurityHeadersResponseWrapper.groovy b/grails-controllers/src/main/groovy/org/grails/plugins/web/controllers/SecurityHeadersResponseWrapper.groovy index 82a74116c2..4569372922 100644 --- a/grails-controllers/src/main/groovy/org/grails/plugins/web/controllers/SecurityHeadersResponseWrapper.groovy +++ b/grails-controllers/src/main/groovy/org/grails/plugins/web/controllers/SecurityHeadersResponseWrapper.groovy @@ -412,7 +412,7 @@ final class SecurityHeadersResponseWrapper extends HttpServletResponseWrapper { return charset } } - catch (IllegalArgumentException unsupported) { + catch (IllegalArgumentException ignored) { // Fall through to UTF-8. } }
