Merge pull request #5575 from Johnny Lim

* gh-5575:
  Remove unused unsatisfiedDependency.getInjectionPoint() call
pull/5575/merge
Andy Wilkinson 9 years ago
commit df4a569ec5

@ -64,7 +64,6 @@ class NoUniqueBeanDefinitionExceptionFailureAnalyzer
message.append(String.format("%s required a single bean, but %d were found:%n", message.append(String.format("%s required a single bean, but %d were found:%n",
getConsumerDescription(unsatisfiedDependency), beanNames.length)); getConsumerDescription(unsatisfiedDependency), beanNames.length));
for (String beanName : beanNames) { for (String beanName : beanNames) {
unsatisfiedDependency.getInjectionPoint();
try { try {
BeanDefinition beanDefinition = this.beanFactory BeanDefinition beanDefinition = this.beanFactory
.getMergedBeanDefinition(beanName); .getMergedBeanDefinition(beanName);

Loading…
Cancel
Save