Merge branch '1.5.x'

pull/8157/merge
Phillip Webb 8 years ago
commit eb4803832b

@ -415,7 +415,7 @@ public class ConfigurationPropertiesBindingPostProcessor implements BeanPostProc
if (!super.supports(type)) { if (!super.supports(type)) {
return false; return false;
} }
if (AnnotatedElementUtils.isAnnotated(type, Validated.class)) { if (AnnotatedElementUtils.hasAnnotation(type, Validated.class)) {
return true; return true;
} }
if (type.getPackage().getName().startsWith("org.springframework.boot")) { if (type.getPackage().getName().startsWith("org.springframework.boot")) {

Loading…
Cancel
Save