diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java b/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java index dbb4a722d4d..3122d94d70c 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/function/client/WebClient.java @@ -479,11 +479,6 @@ public interface WebClient { * .accept(MediaType.APPLICATION_JSON) * .retrieve() * .bodyToMono(Pojo.class); - * - * Mono<ResponseEntity<Pojo>> entityMono = client.get().uri("/") - * .accept(MediaType.APPLICATION_JSON) - * .retrieve() - * .bodyToEntity(Pojo.class); * * @return spec with options for extracting the response body */