Polish Javadoc and inline comments
Closes gh-28426
This commit is contained in:
@@ -587,7 +587,7 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
|
||||
// Attempt to predict the bean type
|
||||
Class<?> predictedType = null;
|
||||
|
||||
// We're looking for a regular reference but we're a factory bean that has
|
||||
// We're looking for a regular reference, but we're a factory bean that has
|
||||
// a decorated bean definition. The target bean should be the same type
|
||||
// as FactoryBean would ultimately return.
|
||||
if (!isFactoryDereference && dbd != null && isFactoryBean(beanName, mbd)) {
|
||||
@@ -625,7 +625,7 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
|
||||
}
|
||||
else if (isFactoryDereference) {
|
||||
// Special case: A SmartInstantiationAwareBeanPostProcessor returned a non-FactoryBean
|
||||
// type but we nevertheless are being asked to dereference a FactoryBean...
|
||||
// type, but we nevertheless are being asked to dereference a FactoryBean...
|
||||
// Let's check the original bean class and proceed with it if it is a FactoryBean.
|
||||
predictedType = predictBeanType(beanName, mbd, FactoryBean.class);
|
||||
if (predictedType == null || !FactoryBean.class.isAssignableFrom(predictedType)) {
|
||||
|
||||
@@ -169,7 +169,7 @@ public @interface ContextConfiguration {
|
||||
Class<? extends ApplicationContextInitializer<?>>[] initializers() default {};
|
||||
|
||||
/**
|
||||
* Whether or not {@linkplain #locations resource locations} or
|
||||
* Whether {@linkplain #locations resource locations} or
|
||||
* {@linkplain #classes <em>component classes</em>} from test superclasses
|
||||
* should be <em>inherited</em>.
|
||||
* <p>The default value is {@code true}. This means that an annotated test
|
||||
@@ -224,7 +224,7 @@ public @interface ContextConfiguration {
|
||||
boolean inheritLocations() default true;
|
||||
|
||||
/**
|
||||
* Whether or not {@linkplain #initializers context initializers} from test
|
||||
* Whether {@linkplain #initializers context initializers} from test
|
||||
* superclasses should be <em>inherited</em>.
|
||||
* <p>The default value is {@code true}. This means that an annotated test
|
||||
* class will <em>inherit</em> the application context initializers defined
|
||||
|
||||
Reference in New Issue
Block a user