consistent caching of @Autowired arguments in field and method case (SPR-7635)
This commit is contained in:
parent
ffa4ed093f
commit
5cb06f5da2
|
|
@ -567,9 +567,6 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean
|
||||||
this.cachedMethodArguments[i] = new RuntimeBeanReference(autowiredBeanName);
|
this.cachedMethodArguments[i] = new RuntimeBeanReference(autowiredBeanName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
this.cachedMethodArguments[i] = arguments[i];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue