Skip to content

Commit 01b65cd

Browse files
committed
polishing
1 parent 61fcef1 commit 01b65cd

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

org.springframework.aop/src/main/java/org/springframework/aop/support/AopUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public static List<Advisor> findAdvisorsThatCanApply(List<Advisor> candidateAdvi
301301
* @throws org.springframework.aop.AopInvocationException in case of a reflection error
302302
*/
303303
public static Object invokeJoinpointUsingReflection(Object target, Method method, Object[] args)
304-
throws Throwable {
304+
throws Throwable {
305305

306306
// Use reflection to invoke the method.
307307
try {

org.springframework.beans/src/main/java/org/springframework/beans/factory/support/AbstractAutowireCapableBeanFactory.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,9 +1095,8 @@ protected void autowireByName(
10951095
pvs.add(propertyName, bean);
10961096
registerDependentBean(propertyName, beanName);
10971097
if (logger.isDebugEnabled()) {
1098-
logger.debug(
1099-
"Added autowiring by name from bean name '" + beanName + "' via property '" + propertyName +
1100-
"' to bean named '" + propertyName + "'");
1098+
logger.debug("Added autowiring by name from bean name '" + beanName +
1099+
"' via property '" + propertyName + "' to bean named '" + propertyName + "'");
11011100
}
11021101
}
11031102
else {
@@ -1147,9 +1146,8 @@ protected void autowireByType(
11471146
for (String autowiredBeanName : autowiredBeanNames) {
11481147
registerDependentBean(autowiredBeanName, beanName);
11491148
if (logger.isDebugEnabled()) {
1150-
logger.debug(
1151-
"Autowiring by type from bean name '" + beanName + "' via property '" + propertyName +
1152-
"' to bean named '" + autowiredBeanName + "'");
1149+
logger.debug("Autowiring by type from bean name '" + beanName + "' via property '" +
1150+
propertyName + "' to bean named '" + autowiredBeanName + "'");
11531151
}
11541152
}
11551153
autowiredBeanNames.clear();

0 commit comments

Comments
 (0)