Browse Source

Clean up warnings in Gradle build

pull/1223/head
Sam Brannen 8 years ago
parent
commit
a04b6c5142
  1. 3
      spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolverTests.java

3
spring-web-reactive/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestBodyArgumentResolverTests.java

@ -122,6 +122,7 @@ public class RequestBodyArgumentResolverTests { @@ -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 { @@ -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 { @@ -247,7 +249,6 @@ public class RequestBodyArgumentResolverTests {
}
@SuppressWarnings("unused")
void handle(
@RequestBody String string,
@RequestBody Mono<String> mono,

Loading…
Cancel
Save