mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Hibernate Validator 5 compatible support for element constraints
Issue: SPR-15916 Issue: SPR-15839
This commit is contained in:
+1
-1
@@ -194,7 +194,7 @@ public class SpringValidatorAdapter implements SmartValidator, javax.validation.
|
||||
sb.append(']');
|
||||
}
|
||||
String name = node.getName();
|
||||
if (name != null && node.getKind() == ElementKind.PROPERTY) {
|
||||
if (name != null && node.getKind() == ElementKind.PROPERTY && !name.startsWith("<")) {
|
||||
if (!first) {
|
||||
sb.append('.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user