From 4f97c41e5835793bb2cc5d9a7110168a00f2c062 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 5 Nov 2025 12:35:09 +0100 Subject: [PATCH] Avoid javadoc failure for line break with annotation reference See gh-35736 --- .../springframework/cache/annotation/CachingConfigurer.java | 5 ++--- .../scheduling/annotation/AsyncConfigurer.java | 5 ++--- .../annotation/TransactionManagementConfigurer.java | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/cache/annotation/CachingConfigurer.java b/spring-context/src/main/java/org/springframework/cache/annotation/CachingConfigurer.java index 29bf29e272b..3707f1940e2 100644 --- a/spring-context/src/main/java/org/springframework/cache/annotation/CachingConfigurer.java +++ b/spring-context/src/main/java/org/springframework/cache/annotation/CachingConfigurer.java @@ -26,9 +26,8 @@ import org.springframework.lang.Nullable; * Interface to be implemented for explicitly specifying how caches are resolved * and how keys are generated for annotation-driven cache management. * - *

Typically implemented by - * @{@link org.springframework.context.annotation.Configuration Configuration} - * classes annotated with @{@link EnableCaching}. + *

Typically implemented by @{@link org.springframework.context.annotation.Configuration + * Configuration} classes annotated with @{@link EnableCaching}. * See @{@link EnableCaching} for general examples and context; see * {@link #cacheManager()}, {@link #cacheResolver()}, {@link #keyGenerator()}, * and {@link #errorHandler()} for detailed instructions. diff --git a/spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncConfigurer.java b/spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncConfigurer.java index 519c567daf1..5aa9e7fe469 100644 --- a/spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncConfigurer.java +++ b/spring-context/src/main/java/org/springframework/scheduling/annotation/AsyncConfigurer.java @@ -27,9 +27,8 @@ import org.springframework.lang.Nullable; * instance used to process exceptions thrown from async methods with a {@code void} * return type. * - *

Typically implemented by - * @{@link org.springframework.context.annotation.Configuration Configuration} - * classes annotated with @{@link EnableAsync}. + *

Typically implemented by @{@link org.springframework.context.annotation.Configuration + * Configuration} classes annotated with @{@link EnableAsync}. * See the @{@link EnableAsync} javadoc for usage examples. * *

NOTE: An {@code AsyncConfigurer} will get initialized early. diff --git a/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java b/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java index bbcea215a22..a56e655fb13 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java +++ b/spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java @@ -27,9 +27,8 @@ import org.springframework.transaction.TransactionManager; * if there are two {@code PlatformTransactionManager} beans (or two * {@code ReactiveTransactionManager} beans) present in the container. * - *

Typically implemented by - * @{@link org.springframework.context.annotation.Configuration Configuration} - * classes annotated with @{@link EnableTransactionManagement}. + *

Typically implemented by @{@link org.springframework.context.annotation.Configuration + * Configuration} classes annotated with @{@link EnableTransactionManagement}. * See @{@link EnableTransactionManagement} for general examples and context; * see {@link #annotationDrivenTransactionManager()} for detailed instructions. *