Skip to content

Commit 64997ec

Browse files
committed
typo
1 parent 8965535 commit 64997ec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scouter.agent.java/src/main/java/scouter/agent/asm/JDBCStatementASM.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ public MethodVisitor visitMethod(int access, String name, String desc, String si
8282
MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions);
8383
if ("<init>".equals(name)) {
8484
return new StInitMV(access, desc, mv);
85-
}else if (StExecuteMV.isTarget(name)) {
85+
}
86+
87+
if (StExecuteMV.isTarget(name)) {
8688
if (desc.startsWith("(Ljava/lang/String;)")) {
8789
return new StExecuteMV(access, desc, mv, owner, name);
8890
}
8991
} else if ("getUpdateCount".equals(name) && "()I".equals(desc)) {
9092
return new PsUpdateCountMV(mv);
91-
}else if ("close".equals(name) && "()V".equals(desc)) {
93+
} else if ("close".equals(name) && "()V".equals(desc)) {
9294
return new PsCloseMV(mv);
9395
}
9496
return mv;

0 commit comments

Comments
 (0)