Skip to content

Commit

Permalink
Clean up warnings in Gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Sep 24, 2024
1 parent f6fcf15 commit dae871b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ void multipleOnCompletionCallbacks() throws Exception {
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());

Expand Down

0 comments on commit dae871b

Please sign in to comment.