From 73fd9133e956a2536d6fe1c706f818b983d4a431 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Fri, 18 Oct 2024 00:08:40 +0900 Subject: [PATCH] Fix Javadoc in ReactorNetty2ResourceFactory See gh-33338 Closes gh-33735 --- .../client/reactive/ReactorNetty2ResourceFactory.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java index 9555a1c67a8d..41fb5a3fc941 100644 --- a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java +++ b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorNetty2ResourceFactory.java @@ -107,8 +107,9 @@ public void addGlobalResourcesConsumer(Consumer consumer) { * Use this when you don't want to participate in global resources and * you want to customize the creation of the managed {@code ConnectionProvider}. *

By default, {@code ConnectionProvider.elastic("http")} is used. - *

Note that this option is ignored if {@code userGlobalResources=false} or - * {@link #setConnectionProvider(ConnectionProvider)} is set. + *

Note that this supplier is ignored if {@link #isUseGlobalResources()} + * is {@code true} or once the {@link #setConnectionProvider(ConnectionProvider) ConnectionProvider} + * is set. * @param supplier the supplier to use */ public void setConnectionProviderSupplier(Supplier supplier) { @@ -136,8 +137,9 @@ public ConnectionProvider getConnectionProvider() { * Use this when you don't want to participate in global resources and * you want to customize the creation of the managed {@code LoopResources}. *

By default, {@code LoopResources.create("webflux-http")} is used. - *

Note that this option is ignored if {@code userGlobalResources=false} or - * {@link #setLoopResources(LoopResources)} is set. + *

Note that this supplier is ignored if {@link #isUseGlobalResources()} + * is {@code true} or once the {@link #setLoopResources(LoopResources) LoopResources} + * is set. * @param supplier the supplier to use */ public void setLoopResourcesSupplier(Supplier supplier) {