mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 20:49:34 +00:00
Merge branch '1.5.x'
This commit is contained in:
+1
-1
@@ -415,7 +415,7 @@ public class ConfigurationPropertiesBindingPostProcessor implements BeanPostProc
|
||||
if (!super.supports(type)) {
|
||||
return false;
|
||||
}
|
||||
if (AnnotatedElementUtils.isAnnotated(type, Validated.class)) {
|
||||
if (AnnotatedElementUtils.hasAnnotation(type, Validated.class)) {
|
||||
return true;
|
||||
}
|
||||
if (type.getPackage().getName().startsWith("org.springframework.boot")) {
|
||||
|
||||
Reference in New Issue
Block a user