This is an automated email from the ASF dual-hosted git repository. jamesfredley pushed a commit to branch 8.0.x in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 1817a7d7b4bc838da032968997bae38bc2843825 Merge: 2d08123daf 4e7cd8762f Author: James Fredley <[email protected]> AuthorDate: Tue Jul 21 17:41:13 2026 -0400 Merge pull request #15991 from apache/build/empty-catch-codenarc Enable CodeNarc EmptyCatchBlock checks .../codenarc/codenarc.groovy | 4 ++++ .../ui/command/GrailsApplicationContextCommandRunner.groovy | 3 +-- .../grails/ui/script/GrailsApplicationScriptRunner.groovy | 3 +-- .../artefact/controller/support/ResponseRenderer.groovy | 3 +-- .../grails/core/cli/template/TemplateRendererImpl.groovy | 3 +-- .../groovy/grails/boot/config/GrailsAutoConfiguration.groovy | 4 +--- .../groovy/grails/boot/config/tools/ClassPathScanner.groovy | 2 +- .../support/PersistenceContextInterceptorExecutor.groovy | 3 +-- .../org/grails/core/exceptions/DefaultErrorsPrinter.groovy | 9 +++------ .../groovy/org/grails/plugins/support/WatchPattern.groovy | 3 +-- .../org/grails/gorm/graphql/GraphQLEntityHelper.groovy | 4 +++- .../entity/property/impl/PersistentGraphQLProperty.groovy | 2 +- .../manager/DefaultGraphQLDomainPropertyManager.groovy | 2 +- .../orm/hibernate/AbstractHibernateGormInstanceApi.groovy | 4 ++-- .../connections/HibernateConnectionSourceSettings.groovy | 2 +- .../orm/hibernate/support/HibernateRuntimeUtils.groovy | 3 +-- .../org/grails/datastore/gorm/mongo/simple/EnumType.groovy | 3 +-- .../main/groovy/grails/databinding/SimpleDataBinder.groovy | 6 ++++-- .../org/grails/compiler/gorm/GormEntityTransformation.groovy | 2 +- .../gorm/bootstrap/AbstractDatastoreInitializer.groovy | 3 +-- .../grails/data/testing/tck/tests/DomainEventsSpec.groovy | 2 +- .../plugins/datasource/EmbeddedDatabaseShutdownHook.groovy | 2 +- .../org/grails/datastore/mapping/reflect/AstUtils.groovy | 3 +-- .../grails/scaffolding/model/DomainModelServiceImpl.groovy | 2 +- grails-gradle/model/src/main/groovy/grails/io/IOUtils.groovy | 6 ++---- .../model/src/main/groovy/grails/util/Environment.groovy | 8 +++----- .../groovy/org/grails/gsp/ModelRecordingGroovyPage.groovy | 3 +-- .../groovy/org/grails/plugins/web/taglib/FormTagLib.groovy | 3 +-- .../plugins/web/rest/plugin/RestResponderGrailsPlugin.groovy | 2 +- .../src/main/groovy/org/grails/cli/GrailsCli.groovy | 12 ++++-------- .../groovy/org/grails/cli/gradle/GradleAsyncInvoker.groovy | 3 +-- .../org/grails/cli/gradle/cache/CachedGradleOperation.groovy | 3 +-- .../cli/interactive/completers/ClassNameCompleter.groovy | 3 +-- .../groovy/org/grails/cli/profile/ProfileRepoConfig.groovy | 2 +- .../org/grails/cli/profile/commands/CreateAppCommand.groovy | 4 ++-- .../cli/profile/commands/DefaultMultiStepCommand.groovy | 3 +-- .../profile/commands/templates/TemplateRendererImpl.groovy | 3 +-- .../groovy/grails/testing/services/ServiceUnitTest.groovy | 2 +- .../testing/IntegrationTestAstTransformation.groovy | 3 +-- .../src/main/groovy/org/grails/testing/GrailsUnitTest.groovy | 6 +++--- .../org/grails/testing/spock/WebSetupSpecInterceptor.groovy | 2 +- .../views/resolve/GenericGroovyTemplateResolver.groovy | 2 +- .../groovy/grails/web/databinding/GrailsWebDataBinder.groovy | 4 ++-- .../org/grails/web/mapping/DefaultLinkGenerator.groovy | 4 +++- 44 files changed, 67 insertions(+), 88 deletions(-)
