Remove unused unsatisfiedDependency.getInjectionPoint() call

Closes gh-5575
pull/5575/merge
Johnny Lim 9 years ago committed by Andy Wilkinson
parent 232a808049
commit ab15d73bc8

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

Loading…
Cancel
Save