Deprecate use of several bean factory methods for the same bean
See gh-31073
This commit is contained in:
@@ -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