mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Suppress deprecation warning in DefaultBeanDefinitionDocumentReader
Issue: SPR-12458
This commit is contained in:
+1
@@ -119,6 +119,7 @@ public class DefaultBeanDefinitionDocumentReader implements BeanDefinitionDocume
|
||||
/**
|
||||
* Register each bean definition within the given root {@code <beans/>} element.
|
||||
*/
|
||||
@SuppressWarnings("deprecation") // for Environment.acceptsProfiles(String...)
|
||||
protected void doRegisterBeanDefinitions(Element root) {
|
||||
// Any nested <beans> elements will cause recursion in this method. In
|
||||
// order to propagate and preserve <beans> default-* attributes correctly,
|
||||
|
||||
Reference in New Issue
Block a user