Deprecate ThemeResolver auto-configuration
Update `WebMvcAutoConfiguration` to deprecate the `ThemeResolver` bean to align with recent Spring Framework changes.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user