Browse Source

Clean up warnings in Gradle build

pull/33594/head
Sam Brannen 1 year ago
parent
commit
dae871b5d3
  1. 1
      spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitterTests.java

1
spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitterTests.java

@ -273,6 +273,7 @@ public class ResponseBodyEmitterTests { @@ -273,6 +273,7 @@ public class ResponseBodyEmitterTests {
void multipleOnErrorCallbacks() throws Exception {
this.emitter.initialize(this.handler);
@SuppressWarnings({ "rawtypes", "unchecked" })
ArgumentCaptor<Consumer<Throwable>> captor = ArgumentCaptor.<Consumer<Throwable>, Consumer>forClass(Consumer.class);
verify(this.handler).onError(captor.capture());

Loading…
Cancel
Save