rename local variable

pull/46/head
Milk 3 years ago
parent 07e25ef1df
commit 69f09b7f32
  1. 10
      Bcore/src/main/java/top/niunaijun/blackbox/core/VMCore.java

@ -173,12 +173,12 @@ public class VMCore {
} catch (Throwable ignored) {
}
Method[] declaredMethods = aClass.getMethods();
for (Method declaredMethod : declaredMethods) {
if (declaredMethod.getName().equals(methodName)) {
String desc = MethodUtils.getDesc(declaredMethod);
Method[] methods = aClass.getMethods();
for (Method method : methods) {
if (method.getName().equals(methodName)) {
String desc = MethodUtils.getDesc(method);
if (desc.equals(signature)) {
return declaredMethod;
return method;
}
}
}

Loading…
Cancel
Save