The GitHub Actions job "Code Style" on grails-core.git/spike/grails-beans-dsl 
has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
dc07794825c851c851bcad004e2a237f6eb66492 / Scott Murphy Heiberg 
<[email protected]>
Remove unnecessary method() indirection from the i18n conversion

buildLocaleResolver() and buildMessageSource() existed only to have
bean(...) immediately call them - the original I18nAutoConfiguration
never had separate helpers for these, it put the switch and the
messageSource construction directly in localeResolver()'s and
messageSource()'s own @Bean method bodies. The only helper the
original genuinely needed was fixedLocale(), because that one is
actually shared between localeResolver() (the 'fixed' case) and
availableLocaleResolver().

Inlined both back into their bean(...) closures, matching the
original's real structure instead of manufacturing extra method(...)
calls just to exercise the feature. fixedLocale() stays as the one
genuinely shared method(...).

Report URL: https://github.com/apache/grails-core/actions/runs/29927757862

With regards,
GitHub Actions via GitBox

Reply via email to