Clean up warnings in build

This commit is contained in:
Sam Brannen
2025-06-07 12:34:21 +02:00
parent 0b4f7f2f9d
commit 5752585bb2
2 changed files with 2 additions and 1 deletions

View File

@@ -2457,7 +2457,7 @@ class AutowiredAnnotationBeanPostProcessorTests {
}
@Test
@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "rawtypes" })
void genericsBasedConstructorInjectionWithNonTypedTarget() {
RootBeanDefinition bd = new RootBeanDefinition(RepositoryConstructorInjectionBean.class);
bd.setScope(BeanDefinition.SCOPE_PROTOTYPE);