Clean up warnings in Gradle build

This commit is contained in:
Sam Brannen
2016-10-28 16:25:29 +02:00
parent 71d83388d4
commit a04b6c5142

View File

@@ -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<String> mono,