mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Deprecate use of several bean factory methods for the same bean
See gh-31073
This commit is contained in:
+1
-1
@@ -542,7 +542,7 @@ class ConfigurationClassProcessingTests {
|
||||
}
|
||||
|
||||
|
||||
@Configuration
|
||||
@Configuration(enforceUniqueMethods = false)
|
||||
static class ConfigWithMethodNameMismatch {
|
||||
|
||||
@Bean(name = "foo") public TestBean foo1() {
|
||||
|
||||
Reference in New Issue
Block a user