修改变量名称

master
星期八 5 years ago
parent cc1267f3f1
commit 6ff99d5d6b
  1. 6
      panda-web/src/main/java/org/panda/web/helper/IocHelper.java

@ -24,9 +24,9 @@ public class IocHelper {
for (Field beanField : beanFields) {
if (beanField.isAnnotationPresent(Inject.class)) {
Class beanFieldClass = beanField.getType();
Object beanfieldInstance = beanMap.get(beanFieldClass);
if (beanfieldInstance != null) {
ReflectionUtil.setField(beanInstance, beanField, beanfieldInstance);
Object beanFieldInstance = beanMap.get(beanFieldClass);
if (beanFieldInstance != null) {
ReflectionUtil.setField(beanInstance, beanField, beanFieldInstance);
}
}
}

Loading…
Cancel
Save