for (final Object item : ((Map< ? , ? >) valueToValidate).keySet())
{
checkConstraint(violations, check, validatedObject, item, context, profiles, true);
}
}
<BUG>if (ArrayUtils.containsSame(targets, ConstraintTarget.VALUES))
{</BUG>
for (final Object item : ((Map< ? , ? >) valueToValidate).values())
{
checkConstraint(violations, check, validatedObject, item, context, profiles, true);

for (final Object item : ((Map< ? , ? >) valueToValidate).keySet())
{
checkConstraint(violations, check, validatedObject, item, context, profiles, true);
