Skip to content

Commit 51a5517

Browse files
committed
Polishing
1 parent d08ce30 commit 51a5517

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-aop/src/main/java/org/springframework/aop/interceptor/AbstractMonitoringInterceptor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -103,8 +103,8 @@ protected String createInvocationTraceName(MethodInvocation invocation) {
103103
if (this.logTargetClassInvocation && clazz.isInstance(invocation.getThis())) {
104104
clazz = invocation.getThis().getClass();
105105
}
106-
String clazzName = clazz.getName();
107-
return getPrefix() + clazzName + '.' + method.getName() + getSuffix();
106+
String className = clazz.getName();
107+
return getPrefix() + className + '.' + method.getName() + getSuffix();
108108
}
109109

110110
}

0 commit comments

Comments
 (0)