Browse Source

Use consistently `@since 6.1`

pull/31158/head
Sébastien Deleuze 1 year ago
parent
commit
81607238ce
  1. 2
      spring-aop/src/main/java/org/springframework/aop/framework/CoroutinesUtils.java
  2. 2
      spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java
  3. 4
      spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java
  4. 2
      spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/CoRouterFunctionDsl.kt

2
spring-aop/src/main/java/org/springframework/aop/framework/CoroutinesUtils.java

@ -28,7 +28,7 @@ import org.springframework.lang.Nullable; @@ -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 {

2
spring-context/src/main/java/org/springframework/context/support/ReloadableResourceBundleMessageSource.java

@ -120,7 +120,7 @@ public class ReloadableResourceBundleMessageSource extends AbstractResourceBased @@ -120,7 +120,7 @@ public class ReloadableResourceBundleMessageSource extends AbstractResourceBased
* Set the list of supported file extensions.
* <p>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<String> fileExtensions) {
Assert.isTrue(!CollectionUtils.isEmpty(fileExtensions), "At least one file extension is required");

4
spring-jms/src/main/java/org/springframework/jms/listener/AbstractMessageListenerContainer.java

@ -578,7 +578,7 @@ public abstract class AbstractMessageListenerContainer extends AbstractJmsListen @@ -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 @@ -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;

2
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 @@ -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) {

Loading…
Cancel
Save