Commit ab15d73b authored by Johnny Lim's avatar Johnny Lim Committed by Andy Wilkinson

Remove unused unsatisfiedDependency.getInjectionPoint() call

Closes gh-5575
parent 232a8080
...@@ -64,7 +64,6 @@ class NoUniqueBeanDefinitionExceptionFailureAnalyzer ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment