Clean up warnings in Gradle build

This commit is contained in:
Sam Brannen 2024-09-24 12:34:20 +02:00
parent f6fcf15745
commit dae871b5d3
1 changed files with 1 additions and 0 deletions

View File

@ -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());