diff --git a/spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolverTests.java b/spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolverTests.java index c3548392ed..27c84b8023 100644 --- a/spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolverTests.java +++ b/spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolverTests.java @@ -122,6 +122,7 @@ public class RequestBodyArgumentResolverTests { } @Test + @SuppressWarnings("unchecked") public void emptyBodyWithMono() throws Exception { ResolvableType type = forClassWithGenerics(Mono.class, String.class); @@ -135,6 +136,7 @@ public class RequestBodyArgumentResolverTests { } @Test + @SuppressWarnings("unchecked") public void emptyBodyWithFlux() throws Exception { ResolvableType type = forClassWithGenerics(Flux.class, String.class); @@ -247,7 +249,6 @@ public class RequestBodyArgumentResolverTests { } - @SuppressWarnings("unused") void handle( @RequestBody String string, @RequestBody Mono mono,