polishing
This commit is contained in:
parent
61fcef1471
commit
01b65cd201
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue