From 88d4eac5377f16b48458308c066ebc9d525ed183 Mon Sep 17 00:00:00 2001 From: izeye Date: Wed, 29 Dec 2021 05:24:55 +0900 Subject: [PATCH] Remove AsyncConfigurerSupport reference in EnableAsync Javadoc See gh-27864 --- .../org/springframework/scheduling/annotation/EnableAsync.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java b/spring-context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java index 5e394ae7c75..5e4b9290fae 100644 --- a/spring-context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java +++ b/spring-context/src/main/java/org/springframework/scheduling/annotation/EnableAsync.java @@ -104,8 +104,7 @@ import org.springframework.core.Ordered; * } * *

If only one item needs to be customized, {@code null} can be returned to - * keep the default settings. Consider also extending from {@link AsyncConfigurerSupport} - * when possible. + * keep the default settings. * *

Note: In the above example the {@code ThreadPoolTaskExecutor} is not a fully managed * Spring bean. Add the {@code @Bean} annotation to the {@code getAsyncExecutor()} method