Commit df4a569e authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #5575 from Johnny Lim

* gh-5575:
  Remove unused unsatisfiedDependency.getInjectionPoint() call
parents 232a8080 ab15d73b
...@@ -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