Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gunlee01 committed Sep 27, 2017
1 parent 8965535 commit 64997ec
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,15 @@ public MethodVisitor visitMethod(int access, String name, String desc, String si
MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions);
if ("<init>".equals(name)) {
return new StInitMV(access, desc, mv);
}else if (StExecuteMV.isTarget(name)) {
}

if (StExecuteMV.isTarget(name)) {
if (desc.startsWith("(Ljava/lang/String;)")) {
return new StExecuteMV(access, desc, mv, owner, name);
}
} else if ("getUpdateCount".equals(name) && "()I".equals(desc)) {
return new PsUpdateCountMV(mv);
}else if ("close".equals(name) && "()V".equals(desc)) {
} else if ("close".equals(name) && "()V".equals(desc)) {
return new PsCloseMV(mv);
}
return mv;
Expand Down

0 comments on commit 64997ec

Please sign in to comment.