consistent caching of @Autowired arguments in field and method case (SPR-7635)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3759 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
b5bb1ac952
commit
22ba9942f5
|
|
@ -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