Skip to content

Commit 5752585

Browse files
committed
Clean up warnings in build
1 parent 0b4f7f2 commit 5752585

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spring-beans/src/test/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2457,7 +2457,7 @@ void genericsBasedConstructorInjection() {
24572457
}
24582458

24592459
@Test
2460-
@SuppressWarnings("unchecked")
2460+
@SuppressWarnings({ "unchecked", "rawtypes" })
24612461
void genericsBasedConstructorInjectionWithNonTypedTarget() {
24622462
RootBeanDefinition bd = new RootBeanDefinition(RepositoryConstructorInjectionBean.class);
24632463
bd.setScope(BeanDefinition.SCOPE_PROTOTYPE);

spring-web/src/testFixtures/java/org/springframework/web/testfixture/http/server/reactive/bootstrap/ReactorHttpsServer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class ReactorHttpsServer extends AbstractHttpServer {
3939
private AtomicReference<DisposableServer> serverRef = new AtomicReference<>();
4040

4141

42+
@SuppressWarnings("deprecation")
4243
@Override
4344
protected void initServer() throws Exception {
4445
SelfSignedCertificate cert = new SelfSignedCertificate();

0 commit comments

Comments
 (0)