mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
+2
-2
@@ -35,6 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
class AnnotatedBeanDefinitionReaderTests {
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
void registerBeanWithQualifiers() {
|
||||
GenericApplicationContext context = new GenericApplicationContext();
|
||||
AnnotatedBeanDefinitionReader reader = new AnnotatedBeanDefinitionReader(context);
|
||||
@@ -56,13 +57,12 @@ class AnnotatedBeanDefinitionReaderTests {
|
||||
|
||||
@Lazy(false)
|
||||
static class TestBean {
|
||||
|
||||
}
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.METHOD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Qualifier
|
||||
@interface CustomQualifier {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user