From e02e67b39fbc6e4ca221c54927e422c84f273da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Mon, 19 May 2025 12:59:12 +0200 Subject: [PATCH] Polish BeanRegistrarDsl Javadoc --- .../beans/factory/BeanRegistrarDsl.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanRegistrarDsl.kt b/spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanRegistrarDsl.kt index 49f713df8fd..99d2b9b59f4 100644 --- a/spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanRegistrarDsl.kt +++ b/spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanRegistrarDsl.kt @@ -111,8 +111,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean } /** - * Register a bean from the given bean class, which will be instantiated - * using the related [resolvable constructor] + * Register a bean of type [T] which will be instantiated using the + * related [resolvable constructor] * [org.springframework.beans.BeanUtils.getResolvableConstructor] if any. * @param T the bean type * @param name the name of the bean @@ -177,8 +177,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean } /** - * Register a bean from the given bean class, which will be instantiated - * using the related [resolvable constructor] + * Register a bean of type [T] which will be instantiated using the + * related [resolvable constructor] * [org.springframework.beans.BeanUtils.getResolvableConstructor] * if any. * @param T the bean type @@ -243,8 +243,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean } /** - * Register a bean from the given bean class, which will be instantiated - * using the provided [supplier]. + * Register a bean of type [T] which will be instantiated using the + * provided [supplier]. * @param T the bean type * @param name the name of the bean * @param autowirable set whether this bean is a candidate for getting @@ -323,8 +323,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean prototype: Boolean = false, crossinline supplier: (SupplierContextDsl.() -> T)): String { /** - * Register a bean from the given bean class, which will be instantiated - * using the provided [supplier]. + * Register a bean of type [T] which will be instantiated using the + * provided [supplier]. * @param T the bean type * @param autowirable set whether this bean is a candidate for getting * autowired into some other bean