diff --git a/org.springframework.beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java b/org.springframework.beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java index a245d51737..230d95443b 100644 --- a/org.springframework.beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java +++ b/org.springframework.beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java @@ -567,9 +567,6 @@ public class AutowiredAnnotationBeanPostProcessor extends InstantiationAwareBean this.cachedMethodArguments[i] = new RuntimeBeanReference(autowiredBeanName); } } - else { - this.cachedMethodArguments[i] = arguments[i]; - } } } }