Browse Source

Clean up warnings in Gradle build

pull/35405/head
Sam Brannen 8 months ago
parent
commit
4d648f8b5d
  1. 2
      spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientObservationTests.java

2
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientObservationTests.java

@ -53,7 +53,6 @@ import static org.mockito.Mockito.when; @@ -53,7 +53,6 @@ import static org.mockito.Mockito.when;
*/
class WebClientObservationTests {
private final TestObservationRegistry observationRegistry = TestObservationRegistry.create();
private final ExchangeFunction exchangeFunction = mock();
@ -63,6 +62,7 @@ class WebClientObservationTests { @@ -63,6 +62,7 @@ class WebClientObservationTests {
private WebClient.Builder builder;
@BeforeEach
@SuppressWarnings("unchecked")
void setup() {
Hooks.enableAutomaticContextPropagation();
ClientResponse mockResponse = mock();

Loading…
Cancel
Save