Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-validator
Commit: ebcd2cd214dc396b285e342006387beb725c5a3f
https://github.com/hibernate/hibernate-validator/commit/ebcd2cd214dc396b2...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-05-09 (Wed, 09 May 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/CascadableConstraintMappingContextImplBase.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.java
M
engine/src/test/java/org/hibernate/validator/test/cfg/ProgrammaticContainerElementConstraintsForFieldTest.java
Log Message:
-----------
HV-1614 Add check if the container element context exists when adding a nested type
argument constraints programmatically
Rather than simply put a new context into the map we need to check if there's one
already created by any previous calls. This might happen when someone wants to add
constraints for different type arguments of a nested container.
**NOTE:** This service been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from
GitHub.com on January 31st, 2019.