Deprecate use of several bean factory methods for the same bean

See gh-31073
This commit is contained in:
Juergen Hoeller
2024-12-12 22:16:24 +01:00
parent 4773ffc72c
commit 43ff6d9711
3 changed files with 21 additions and 15 deletions

View File

@@ -542,7 +542,7 @@ class ConfigurationClassProcessingTests {
}
@Configuration
@Configuration(enforceUniqueMethods = false)
static class ConfigWithMethodNameMismatch {
@Bean(name = "foo") public TestBean foo1() {