From ab15d73bc81841086803b2e01fb4c7af323a549e Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 5 Apr 2016 14:40:30 +0900 Subject: [PATCH] Remove unused unsatisfiedDependency.getInjectionPoint() call Closes gh-5575 --- .../analyzer/NoUniqueBeanDefinitionExceptionFailureAnalyzer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/NoUniqueBeanDefinitionExceptionFailureAnalyzer.java b/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/NoUniqueBeanDefinitionExceptionFailureAnalyzer.java index 6c648a40b1..e6d795bfbd 100644 --- a/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/NoUniqueBeanDefinitionExceptionFailureAnalyzer.java +++ b/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/NoUniqueBeanDefinitionExceptionFailureAnalyzer.java @@ -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);