Skip to content

Commit 665e6cf

Browse files
committed
Refined log message for interface-implementing method
Issue: SPR-15436
1 parent fd1d8ae commit 665e6cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-aop/src/main/java/org/springframework/aop/framework/CglibAopProxy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ private void doValidateClass(Class<?> proxySuperClass, ClassLoader proxyClassLoa
262262
if (!Modifier.isStatic(mod)) {
263263
if (Modifier.isFinal(mod)) {
264264
if (implementsInterface(method, ifcs)) {
265-
logger.warn("Unable to proxy interface-implmenting method [" + method + "] because " +
266-
"it is marked as final: Consider using interface-based proxies instead!");
265+
logger.warn("Unable to proxy interface-implementing method [" + method + "] because " +
266+
"it is marked as final: Consider using interface-based JDK proxies instead!");
267267
}
268268
logger.info("Final method [" + method + "] cannot get proxied via CGLIB: " +
269269
"Calls to this method will NOT be routed to the target instance and " +

0 commit comments

Comments
 (0)