rename local variable

pull/46/head
Milk 4 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) { } catch (Throwable ignored) {
} }
Method[] declaredMethods = aClass.getMethods(); Method[] methods = aClass.getMethods();
for (Method declaredMethod : declaredMethods) { for (Method method : methods) {
if (declaredMethod.getName().equals(methodName)) { if (method.getName().equals(methodName)) {
String desc = MethodUtils.getDesc(declaredMethod); String desc = MethodUtils.getDesc(method);
if (desc.equals(signature)) { if (desc.equals(signature)) {
return declaredMethod; return method;
} }
} }
} }

Loading…
Cancel
Save