Skip to content

Commit 6c8de96

Browse files
izeyesbrannen
authored andcommitted
Add Javadoc since tag for RootBeanDefinition(ResolvableType) constructor
This commit also removes unnecessary super() invocations. See gh-28418 Closes gh-28449
1 parent 2487ccf commit 6c8de96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/RootBeanDefinition.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public RootBeanDefinition(@Nullable Class<?> beanClass) {
153153
/**
154154
* Create a new RootBeanDefinition for a singleton.
155155
* @param beanType the type of bean to instantiate
156+
* @since 6.0
156157
* @see #setTargetType(ResolvableType)
157158
*/
158159
public RootBeanDefinition(@Nullable ResolvableType beanType) {
@@ -169,7 +170,6 @@ public RootBeanDefinition(@Nullable ResolvableType beanType) {
169170
* @see #setInstanceSupplier
170171
*/
171172
public <T> RootBeanDefinition(@Nullable Class<T> beanClass, @Nullable Supplier<T> instanceSupplier) {
172-
super();
173173
setBeanClass(beanClass);
174174
setInstanceSupplier(instanceSupplier);
175175
}
@@ -185,7 +185,6 @@ public <T> RootBeanDefinition(@Nullable Class<T> beanClass, @Nullable Supplier<T
185185
* @see #setInstanceSupplier
186186
*/
187187
public <T> RootBeanDefinition(@Nullable Class<T> beanClass, String scope, @Nullable Supplier<T> instanceSupplier) {
188-
super();
189188
setBeanClass(beanClass);
190189
setScope(scope);
191190
setInstanceSupplier(instanceSupplier);

0 commit comments

Comments
 (0)