From 7d505dc5b366fccb029b5f44c70dbbfee53a0ac3 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Mon, 18 Sep 2023 15:27:07 +0200 Subject: [PATCH] Polish JavaDoc --- .../web/reactive/function/client/WebClientSsl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientSsl.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientSsl.java index ba33e619fb..0fe531e929 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientSsl.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/function/client/WebClientSsl.java @@ -31,7 +31,7 @@ import org.springframework.web.reactive.function.client.WebClient; * Typically used as follows:
  * @Bean
  * public MyBean myBean(WebClient.Builder webClientBuilder, WebClientSsl ssl) {
- *     WebClient webClient = webClientBuilder.apply(ssl.forBundle("mybundle")).build();
+ *     WebClient webClient = webClientBuilder.apply(ssl.fromBundle("mybundle")).build();
  *     return new MyBean(webClient);
  * }
  * 
NOTE: Apply SSL configuration will replace any previously