| | |
| | | @ConditionalOnMissingBean(name = {"messageSource"}, search = SearchStrategy.CURRENT) |
| | | @AutoConfigureOrder(Integer.MIN_VALUE) |
| | | @Conditional({CustomMessageSourceAutoConfiguration.ResourceBundleCondition.class}) |
| | | /* loaded from: blade-starter-i18n-9.3.0.0-SNAPSHOT.jar:org/springblade/core/i18n/config/CustomMessageSourceAutoConfiguration.class */ |
| | | |
| | | public class CustomMessageSourceAutoConfiguration { |
| | | private static final Logger log = LoggerFactory.getLogger(CustomMessageSourceAutoConfiguration.class); |
| | | private static final Resource[] NO_RESOURCES = new Resource[0]; |
| | |
| | | return messageSource; |
| | | } |
| | | |
| | | /* loaded from: blade-starter-i18n-9.3.0.0-SNAPSHOT.jar:org/springblade/core/i18n/config/CustomMessageSourceAutoConfiguration$ResourceBundleCondition.class */ |
| | | |
| | | protected static class ResourceBundleCondition extends SpringBootCondition { |
| | | private static ConcurrentReferenceHashMap<String, ConditionOutcome> cache = new ConcurrentReferenceHashMap<>(); |
| | | |