From a04b6c5142b38721129b1f94586d4db6376964e7 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 28 Oct 2016 16:25:29 +0200 Subject: [PATCH] Clean up warnings in Gradle build --- .../method/annotation/RequestBodyArgumentResolverTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,