A couple of trivial simplifications
This commit is contained in:
committed by
Juergen Hoeller
parent
02850f357f
commit
6f07a504b8
@@ -154,7 +154,6 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
|
||||
@Override
|
||||
@Nullable
|
||||
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
|
||||
MethodInvocation invocation;
|
||||
Object oldProxy = null;
|
||||
boolean setProxyContext = false;
|
||||
|
||||
@@ -207,7 +206,7 @@ final class JdkDynamicAopProxy implements AopProxy, InvocationHandler, Serializa
|
||||
}
|
||||
else {
|
||||
// We need to create a method invocation...
|
||||
invocation = new ReflectiveMethodInvocation(proxy, target, method, args, targetClass, chain);
|
||||
MethodInvocation invocation = new ReflectiveMethodInvocation(proxy, target, method, args, targetClass, chain);
|
||||
// Proceed to the joinpoint through the interceptor chain.
|
||||
retVal = invocation.proceed();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user