Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Sep 26, 2024
1 parent 8e85dd0 commit b4bfb89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
class AnnotatedBeanDefinitionReaderTests {

@Test
@SuppressWarnings("unchecked")
void registerBeanWithQualifiers() {
GenericApplicationContext context = new GenericApplicationContext();
AnnotatedBeanDefinitionReader reader = new AnnotatedBeanDefinitionReader(context);
Expand All @@ -56,13 +57,12 @@ void registerBeanWithQualifiers() {

@Lazy(false)
static class TestBean {

}

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Qualifier
@interface CustomQualifier {

}

}

0 comments on commit b4bfb89

Please sign in to comment.