From 8285666ee883fa7ffd24e25bc73885f61329d674 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Mon, 2 Mar 2020 21:48:19 +0900 Subject: [PATCH] Polish ReactorResourceFactory Closes gh-24620 --- .../http/client/reactive/ReactorResourceFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java index 94da122f99..87af75f09d 100644 --- a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java +++ b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorResourceFactory.java @@ -161,8 +161,8 @@ public class ReactorResourceFactory implements InitializingBean, DisposableBean /** * Configure the amount of time we'll wait before shutting down resources. - * If a task is submitted during the {@code quietPeriod}, it is guaranteed - * to be accepted and the {@code quietPeriod} will start over. + * If a task is submitted during the {@code shutdownQuietPeriod}, it is guaranteed + * to be accepted and the {@code shutdownQuietPeriod} will start over. *

By default, this is set to * {@link LoopResources#DEFAULT_SHUTDOWN_QUIET_PERIOD} which is 2 seconds but * can also be overridden with the system property @@ -189,7 +189,7 @@ public class ReactorResourceFactory implements InitializingBean, DisposableBean * @see #setShutdownQuietPeriod(Duration) */ public void setShutdownTimeout(Duration shutdownTimeout) { - Assert.notNull(shutdownTimeout, "shutdownQuietPeriod should not be null"); + Assert.notNull(shutdownTimeout, "shutdownTimeout should not be null"); this.shutdownTimeout = shutdownTimeout; }