From 27d45fe9bf84382feb252c4a6ab9492bc38086f1 Mon Sep 17 00:00:00 2001
From: Dmitry Sulman <dmitry.sulman@gmail.com>
Date: Fri, 23 May 2025 22:43:12 +0300
Subject: [PATCH] Fix typos in Javadoc of WebClient.java

Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
---
 .../web/reactive/function/client/WebClient.java             | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 976eff8f5d2e..1b07d1016517 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
@@ -839,7 +839,7 @@ ResponseSpec onRawStatus(IntPredicate statusCodePredicate,
 		<T> Flux<T> bodyToFlux(Class<T> elementClass);
 
 		/**
-		 * Variant of {@link #bodyToMono(Class)} with a {@link ParameterizedTypeReference}.
+		 * Variant of {@link #bodyToFlux(Class)} with a {@link ParameterizedTypeReference}.
 		 * @param elementTypeRef the type of element to decode to
 		 * @param <T> the body element type
 		 * @return the decoded body
@@ -859,7 +859,7 @@ ResponseSpec onRawStatus(IntPredicate statusCodePredicate,
 		<T> Mono<ResponseEntity<T>> toEntity(Class<T> bodyClass);
 
 		/**
-		 * Variant of {@link #bodyToMono(Class)} with a {@link ParameterizedTypeReference}.
+		 * Variant of {@link #toEntity(Class)} with a {@link ParameterizedTypeReference}.
 		 * @param bodyTypeReference the expected response body type
 		 * @param <T> the response body type
 		 * @return the {@code ResponseEntity} with the decoded body
@@ -881,7 +881,7 @@ ResponseSpec onRawStatus(IntPredicate statusCodePredicate,
 		<T> Mono<ResponseEntity<List<T>>> toEntityList(Class<T> elementClass);
 
 		/**
-		 * Variant of {@link #toEntity(Class)} with a {@link ParameterizedTypeReference}.
+		 * Variant of {@link #toEntityList(Class)} with a {@link ParameterizedTypeReference}.
 		 * @param elementTypeRef the type of element to decode the target Flux to
 		 * @param <T> the body element type
 		 * @return the {@code ResponseEntity}