From da56c2b08e0692701e79fcd1dc7790d2f7b40aa0 Mon Sep 17 00:00:00 2001 From: Michael Minella Date: Wed, 5 Dec 2018 16:53:00 -0600 Subject: [PATCH] Polish --- .../cloud/task/configuration/TaskConfigurer.java | 5 ++--- spring-cloud-task-docs/src/main/asciidoc/features.adoc | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/TaskConfigurer.java b/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/TaskConfigurer.java index b5305637..77869f45 100644 --- a/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/TaskConfigurer.java +++ b/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/TaskConfigurer.java @@ -25,9 +25,8 @@ import org.springframework.transaction.PlatformTransactionManager; /** * Provides a strategy interface for providing configuration * customization to the task system. Users should not directly use getter methods - * from a TaskConfigurer directly unless they are using it to supply beans in a - * class annotated with: - * {@link org.springframework.context.annotation.Configuration}. + * from a TaskConfigurer directly unless they are using it to supply the implementations + * for Spring Beans. * * @author Glenn Renfro */ diff --git a/spring-cloud-task-docs/src/main/asciidoc/features.adoc b/spring-cloud-task-docs/src/main/asciidoc/features.adoc index 32e48027..2b498722 100644 --- a/spring-cloud-task-docs/src/main/asciidoc/features.adoc +++ b/spring-cloud-task-docs/src/main/asciidoc/features.adoc @@ -233,9 +233,8 @@ custom implementation of the `TaskConfigurer` interface. Typically, extending th overriding the required getter is sufficient. However, implementing your own from scratch may be required. -NOTE: Users should not directly use getter methods from a TaskConfigurer directly -unless they are using it to supply beans in a class annotated with -https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Configuration.html[Configuration]. +NOTE: Users should not directly use getter methods from a `TaskConfigurer` directly +unless they are using it to supply implementations to be exposed as Spring Beans. [[features-task-name]] === Task Name