Skip to content

Commit e02e67b

Browse files
committed
Polish BeanRegistrarDsl Javadoc
1 parent aa9ab8e commit e02e67b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanRegistrarDsl.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
111111
}
112112

113113
/**
114-
* Register a bean from the given bean class, which will be instantiated
115-
* using the related [resolvable constructor]
114+
* Register a bean of type [T] which will be instantiated using the
115+
* related [resolvable constructor]
116116
* [org.springframework.beans.BeanUtils.getResolvableConstructor] if any.
117117
* @param T the bean type
118118
* @param name the name of the bean
@@ -177,8 +177,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
177177
}
178178

179179
/**
180-
* Register a bean from the given bean class, which will be instantiated
181-
* using the related [resolvable constructor]
180+
* Register a bean of type [T] which will be instantiated using the
181+
* related [resolvable constructor]
182182
* [org.springframework.beans.BeanUtils.getResolvableConstructor]
183183
* if any.
184184
* @param T the bean type
@@ -243,8 +243,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
243243
}
244244

245245
/**
246-
* Register a bean from the given bean class, which will be instantiated
247-
* using the provided [supplier].
246+
* Register a bean of type [T] which will be instantiated using the
247+
* provided [supplier].
248248
* @param T the bean type
249249
* @param name the name of the bean
250250
* @param autowirable set whether this bean is a candidate for getting
@@ -323,8 +323,8 @@ open class BeanRegistrarDsl(private val init: BeanRegistrarDsl.() -> Unit): Bean
323323
prototype: Boolean = false,
324324
crossinline supplier: (SupplierContextDsl<T>.() -> T)): String {
325325
/**
326-
* Register a bean from the given bean class, which will be instantiated
327-
* using the provided [supplier].
326+
* Register a bean of type [T] which will be instantiated using the
327+
* provided [supplier].
328328
* @param T the bean type
329329
* @param autowirable set whether this bean is a candidate for getting
330330
* autowired into some other bean

0 commit comments

Comments
 (0)