Skip to content

Commit

Permalink
Merge pull request #2212 from DMJYY/patch-1
Browse files Browse the repository at this point in the history
Update proxy.md
  • Loading branch information
Snailclimb authored Dec 3, 2023
2 parents 7b0d616 + 9c0e7f5 commit 172546b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java/basis/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public class DebugInvocationHandler implements InvocationHandler {
this.target = target;
}


@Override
public Object invoke(Object proxy, Method method, Object[] args) throws InvocationTargetException, IllegalAccessException {
//调用方法之前,我们可以添加自己的操作
System.out.println("before method " + method.getName());
Expand Down

0 comments on commit 172546b

Please sign in to comment.