Remove accidentally committed debug sysout

pull/18490/head
Phillip Webb 5 years ago
parent b1f23f54df
commit 9582aa3f3c

@ -54,7 +54,6 @@ class ConfigurationPropertiesBeanDefinitionValidator implements BeanFactoryPostP
private void validate(ConfigurableListableBeanFactory beanFactory, String beanName) { private void validate(ConfigurableListableBeanFactory beanFactory, String beanName) {
Class<?> beanClass = beanFactory.getType(beanName, false); Class<?> beanClass = beanFactory.getType(beanName, false);
System.out.println(beanName);
if (beanClass != null && BindMethod.forClass(beanClass) == BindMethod.VALUE_OBJECT) { if (beanClass != null && BindMethod.forClass(beanClass) == BindMethod.VALUE_OBJECT) {
throw new BeanCreationException(beanName, throw new BeanCreationException(beanName,
"@EnableConfigurationProperties or @ConfigurationPropertiesScan must be used to add " "@EnableConfigurationProperties or @ConfigurationPropertiesScan must be used to add "

Loading…
Cancel
Save