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 76b58f0f099ab874924924cf1c5e04e42f3e4390 Author: Walter Duque de Estrada <[email protected]> AuthorDate: Wed Oct 7 18:03:26 2026 -0500 style: name intentionally empty catch parameter ignored in grails-data-hibernate7 CodeNarc EmptyCatchBlock only accepts an empty catch block whose parameter is named ignored. Pure parameter rename, no behaviour change. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --- ...tractMultipleDataSourceAggregatePersistenceContextInterceptor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-data-hibernate7/grails-plugin/src/main/groovy/org/grails/plugin/hibernate/support/AbstractMultipleDataSourceAggregatePersistenceContextInterceptor.groovy b/grails-data-hibernate7/grails-plugin/src/main/groovy/org/grails/plugin/hibernate/support/AbstractMultipleDataSourceAggregatePersistenceContextInterceptor.groovy index 8e42ac492f..c34fb116ce 100644 --- a/grails-data-hibernate7/grails-plugin/src/main/groovy/org/grails/plugin/hibernate/support/AbstractMultipleDataSourceAggregatePersistenceContextInterceptor.groovy +++ b/grails-data-hibernate7/grails-plugin/src/main/groovy/org/grails/plugin/hibernate/support/AbstractMultipleDataSourceAggregatePersistenceContextInterceptor.groovy @@ -76,7 +76,7 @@ abstract class AbstractMultipleDataSourceAggregatePersistenceContextInterceptor if (interceptor.isOpen()) { interceptor.destroy() } - } catch (Exception e) { + } catch (Exception ignored) { // ignore exception } }
