From 81607238cee1fd08909304108bf6b443fe807fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Fri, 1 Sep 2023 12:32:04 +0200 Subject: [PATCH] Use consistently `@since 6.1` --- .../org/springframework/aop/framework/CoroutinesUtils.java | 2 +- .../support/ReloadableResourceBundleMessageSource.java | 2 +- .../jms/listener/AbstractMessageListenerContainer.java | 4 ++-- .../web/reactive/function/server/CoRouterFunctionDsl.kt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-aop/src/main/java/org/springframework/aop/framework/CoroutinesUtils.java b/spring-aop/src/main/java/org/springframework/aop/framework/CoroutinesUtils.java index ef51a13726..dea2fe6408 100644 --- a/spring-aop/src/main/java/org/springframework/aop/framework/CoroutinesUtils.java +++ b/spring-aop/src/main/java/org/springframework/aop/framework/CoroutinesUtils.java @@ -28,7 +28,7 @@ import org.springframework.lang.Nullable; * Package-visible class designed to avoid a hard dependency on Kotlin and Coroutines dependency at runtime. * * @author Sebastien Deleuze - * @since 6.1.0 + * @since 6.1 */ abstract class CoroutinesUtils { diff --git a/spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java b/spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java index 0ce1b8cd0f..18dffe1f03 100644 --- a/spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java +++ b/spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java @@ -120,7 +120,7 @@ public class ReloadableResourceBundleMessageSource extends AbstractResourceBased * Set the list of supported file extensions. *

The default is a list containing {@code .properties} and {@code .xml}. * @param fileExtensions the file extensions (starts with a dot) - * @since 6.1.0 + * @since 6.1 */ public void setFileExtensions(List fileExtensions) { Assert.isTrue(!CollectionUtils.isEmpty(fileExtensions), "At least one file extension is required"); diff --git a/spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java b/spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java index a65391e164..a94341537f 100644 --- a/spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java +++ b/spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java @@ -578,7 +578,7 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen /** * Return the {@link ObservationRegistry} used for recording * {@link JmsObservationDocumentation#JMS_MESSAGE_PUBLISH JMS message processing observations}. - * @since 6.1.0 + * @since 6.1 */ @Nullable public ObservationRegistry getObservationRegistry() { @@ -589,7 +589,7 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen * Set the {@link ObservationRegistry} to be used for recording * {@link JmsObservationDocumentation#JMS_MESSAGE_PUBLISH JMS message processing observations}. * Defaults to no-op observations if the registry is not set. - * @since 6.1.0 + * @since 6.1 */ public void setObservationRegistry(@Nullable ObservationRegistry observationRegistry) { this.observationRegistry = observationRegistry; diff --git a/spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/CoRouterFunctionDsl.kt b/spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/CoRouterFunctionDsl.kt index 7a085f83a7..8d82056282 100644 --- a/spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/CoRouterFunctionDsl.kt +++ b/spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/CoRouterFunctionDsl.kt @@ -624,7 +624,7 @@ class CoRouterFunctionDsl internal constructor (private val init: (CoRouterFunct * Allow to provide the default [CoroutineContext], potentially dynamically based on * the incoming [ServerRequest]. * @param provider the [CoroutineContext] provider - * @since 6.1.0 + * @since 6.1 */ fun context(provider: suspend (ServerRequest) -> CoroutineContext) { if (this.contextProvider != null) {