Remove nulls from description for bean defs with no res description
Previously, if a bean definition had no resource description, the
failure analysis description would state that the been had been
defined in null which was of no use to the user.
This commit updates the failure analysis to omit information about
where the bean was definied when the definition has no resource
description.
Fixes gh-18721
@ -43,6 +46,18 @@ public class BeanDefinitionOverrideFailureAnalyzerTests {
@@ -43,6 +46,18 @@ public class BeanDefinitionOverrideFailureAnalyzerTests {
@ -63,6 +78,28 @@ public class BeanDefinitionOverrideFailureAnalyzerTests {
@@ -63,6 +78,28 @@ public class BeanDefinitionOverrideFailureAnalyzerTests {