Deprecate ThemeResolver auto-configuration

Update `WebMvcAutoConfiguration` to deprecate the `ThemeResolver` bean
to align with recent Spring Framework changes.
pull/32224/head
Phillip Webb 2 years ago
parent aafceb3868
commit fc279b7083

@ -456,6 +456,8 @@ public class WebMvcAutoConfiguration {
@Override
@Bean
@ConditionalOnMissingBean(name = DispatcherServlet.THEME_RESOLVER_BEAN_NAME)
@Deprecated
@SuppressWarnings("deprecation")
public ThemeResolver themeResolver() {
return super.themeResolver();
}

Loading…
Cancel
Save