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 d37d3e549e7c6a310ecfe59e341cd537c60aad55 Author: Walter Duque de Estrada <[email protected]> AuthorDate: Wed Oct 7 18:02:16 2026 -0500 style: name intentionally empty catch parameters ignored in grails-web-mvc 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]> --- .../src/main/groovy/org/grails/web/errors/AuditorAwareLookup.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-web-mvc/src/main/groovy/org/grails/web/errors/AuditorAwareLookup.groovy b/grails-web-mvc/src/main/groovy/org/grails/web/errors/AuditorAwareLookup.groovy index a1e585fbde..6de7f059c8 100644 --- a/grails-web-mvc/src/main/groovy/org/grails/web/errors/AuditorAwareLookup.groovy +++ b/grails-web-mvc/src/main/groovy/org/grails/web/errors/AuditorAwareLookup.groovy @@ -85,7 +85,7 @@ class AuditorAwareLookup { bean = applicationContext.getBean(type) getCurrentAuditor = type.getMethod('getCurrentAuditor') } - catch (BeansException noBean) { + catch (BeansException ignored) { // optional — no bean registered } }
