Clean up warnings in Gradle build
This commit is contained in:
parent
f6fcf15745
commit
dae871b5d3
|
|
@ -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…
Reference in New Issue