Log warning for convention-based attribute overrides once per annotation type

See gh-28760, gh-29206
This commit is contained in:
Sam Brannen
2022-10-17 16:52:17 +02:00
parent 5cb3af708c
commit 0e861af050
2 changed files with 18 additions and 14 deletions

View File

@@ -2445,6 +2445,10 @@ class MergedAnnotationsTests {
// Do NOT use @AliasFor here until Spring 6.1
// @AliasFor(annotation = ContextConfiguration.class)
String[] locations() default {};
// Do NOT use @AliasFor here until Spring 6.1
// @AliasFor(annotation = ContextConfiguration.class)
Class<?>[] classes() default {};
}
@ContextConfiguration(value = "duplicateDeclaration")