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);

View File

@@ -39,6 +39,7 @@ public class ReactorHttpsServer extends AbstractHttpServer {
private AtomicReference<DisposableServer> serverRef = new AtomicReference<>();
@SuppressWarnings("deprecation")
@Override
protected void initServer() throws Exception {
SelfSignedCertificate cert = new SelfSignedCertificate();