Skip to content

Commit

Permalink
Fixed method renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Apr 11, 2016
1 parent f7f0b4a commit 87b31df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions byte-buddy-dep/src/main/java/net/bytebuddy/asm/Advice.java
Expand Up @@ -1115,7 +1115,7 @@ protected AdviceVisitor(MethodVisitor methodVisitor,
} }


@Override @Override
protected void onMethodStart() { protected void onFirstCodeInstruction() {
onAdviceStart(); onAdviceStart();
if (methodEnter.isAlive()) { if (methodEnter.isAlive()) {
append(methodEnter); append(methodEnter);
Expand Down Expand Up @@ -4316,7 +4316,7 @@ public void visitCode() {
} }


@Override @Override
protected void onMethodStart() { protected void onFirstCodeInstruction() {
suppressionHandler.onStart(mv, metaDataHandler); suppressionHandler.onStart(mv, metaDataHandler);
} }


Expand Down

0 comments on commit 87b31df

Please sign in to comment.