polishing
This commit is contained in:
@@ -301,7 +301,7 @@ public abstract class AopUtils {
|
||||
* @throws org.springframework.aop.AopInvocationException in case of a reflection error
|
||||
*/
|
||||
public static Object invokeJoinpointUsingReflection(Object target, Method method, Object[] args)
|
||||
throws Throwable {
|
||||
throws Throwable {
|
||||
|
||||
// Use reflection to invoke the method.
|
||||
try {
|
||||
|
||||
@@ -1095,9 +1095,8 @@ public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFac
|
||||
pvs.add(propertyName, bean);
|
||||
registerDependentBean(propertyName, beanName);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug(
|
||||
"Added autowiring by name from bean name '" + beanName + "' via property '" + propertyName +
|
||||
"' to bean named '" + propertyName + "'");
|
||||
logger.debug("Added autowiring by name from bean name '" + beanName +
|
||||
"' via property '" + propertyName + "' to bean named '" + propertyName + "'");
|
||||
}
|
||||
}
|
||||
else {
|
||||
@@ -1147,9 +1146,8 @@ public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFac
|
||||
for (String autowiredBeanName : autowiredBeanNames) {
|
||||
registerDependentBean(autowiredBeanName, beanName);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug(
|
||||
"Autowiring by type from bean name '" + beanName + "' via property '" + propertyName +
|
||||
"' to bean named '" + autowiredBeanName + "'");
|
||||
logger.debug("Autowiring by type from bean name '" + beanName + "' via property '" +
|
||||
propertyName + "' to bean named '" + autowiredBeanName + "'");
|
||||
}
|
||||
}
|
||||
autowiredBeanNames.clear();
|
||||
|
||||
Reference in New Issue
Block a user