Skip to content

Commit

Permalink
Add Javadoc since for RootBeanDefinition(ResolvableType)
Browse files Browse the repository at this point in the history
This commit also removes redundant super() invocations.

See spring-projectsgh-28271
  • Loading branch information
izeye committed May 11, 2022
1 parent e6c0152 commit f8b3a69
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -153,6 +153,7 @@ public RootBeanDefinition(@Nullable Class<?> beanClass) {
/**
* Create a new RootBeanDefinition for a singleton.
* @param beanType the type of bean to instantiate
* @since 6.0
* @see #setTargetType(ResolvableType)
*/
public RootBeanDefinition(@Nullable ResolvableType beanType) {
Expand All @@ -169,7 +170,6 @@ public RootBeanDefinition(@Nullable ResolvableType beanType) {
* @see #setInstanceSupplier
*/
public <T> RootBeanDefinition(@Nullable Class<T> beanClass, @Nullable Supplier<T> instanceSupplier) {
super();
setBeanClass(beanClass);
setInstanceSupplier(instanceSupplier);
}
Expand All @@ -185,7 +185,6 @@ public <T> RootBeanDefinition(@Nullable Class<T> beanClass, @Nullable Supplier<T
* @see #setInstanceSupplier
*/
public <T> RootBeanDefinition(@Nullable Class<T> beanClass, String scope, @Nullable Supplier<T> instanceSupplier) {
super();
setBeanClass(beanClass);
setScope(scope);
setInstanceSupplier(instanceSupplier);
Expand Down

0 comments on commit f8b3a69

Please sign in to comment.