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 e5120ae1111bca7010e503771e31d9570e05f4de
Author: Walter Duque de Estrada <[email protected]>
AuthorDate: Wed Oct 7 18:03:02 2026 -0500

    style: name intentionally empty catch parameters ignored in grails-web-jsp
    
    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]>
---
 .../groovy/org/grails/gsp/jsp/GroovyPagesJspApplicationContext.groovy   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/grails-gsp/grails-web-jsp/src/main/groovy/org/grails/gsp/jsp/GroovyPagesJspApplicationContext.groovy
 
b/grails-gsp/grails-web-jsp/src/main/groovy/org/grails/gsp/jsp/GroovyPagesJspApplicationContext.groovy
index 9fa1aba736..b9e0983891 100644
--- 
a/grails-gsp/grails-web-jsp/src/main/groovy/org/grails/gsp/jsp/GroovyPagesJspApplicationContext.groovy
+++ 
b/grails-gsp/grails-web-jsp/src/main/groovy/org/grails/gsp/jsp/GroovyPagesJspApplicationContext.groovy
@@ -93,7 +93,7 @@ class GroovyPagesJspApplicationContext implements 
JspApplicationContext {
             LOG.warn('Class ' + className + ' does not implement ' +
                     ExpressionFactory.name)
         }
-        catch (ClassNotFoundException e) {
+        catch (ClassNotFoundException ignored) {
             // ignored
         }
         catch (Exception e) {

Reply via email to