Author: epbernard
Date: 2009-07-17 15:56:59 -0400 (Fri, 17 Jul 2009)
New Revision: 17137
Modified:
beanvalidation/trunk/validation-api/src/main/java/javax/validation/metadata/ElementDescriptor.java
beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi/ConfigurationState.java
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/ElementDescriptorImpl.java
Log:
cleaner JavaDoc
BVAL-174 better message for assertTrue / False BVAL-173
getUnorderdConstraintDescriptorsMatchingGroups =>
getUnorderedConstraintDescriptorsMatchingGroups
Modified:
beanvalidation/trunk/validation-api/src/main/java/javax/validation/metadata/ElementDescriptor.java
===================================================================
---
beanvalidation/trunk/validation-api/src/main/java/javax/validation/metadata/ElementDescriptor.java 2009-07-17
19:30:48 UTC (rev 17136)
+++
beanvalidation/trunk/validation-api/src/main/java/javax/validation/metadata/ElementDescriptor.java 2009-07-17
19:56:59 UTC (rev 17137)
@@ -57,5 +57,5 @@
* @param groups groups targeted
* @return list of matching ConstraintDescriptors
*/
- Set<ConstraintDescriptor<?>>
getUnorderdConstraintDescriptorsMatchingGroups(Class<?>... groups);
+ Set<ConstraintDescriptor<?>>
getUnorderedConstraintDescriptorsMatchingGroups(Class<?>... groups);
}
Modified:
beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi/ConfigurationState.java
===================================================================
---
beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi/ConfigurationState.java 2009-07-17
19:30:48 UTC (rev 17136)
+++
beanvalidation/trunk/validation-api/src/main/java/javax/validation/spi/ConfigurationState.java 2009-07-17
19:56:59 UTC (rev 17137)
@@ -48,7 +48,7 @@
* Message interpolator is defined in the following decreasing priority:
* <ul>
* <li>set via the Configuration programmatic API</li>
- * <li>defined in META-INF/validation.xml provided that ignoredXmlConfiguration
+ * <li>defined in META-INF/validation.xml provided that ignoreXmlConfiguration
* is false. In this case the instance is created via its no-arg
constructor.</li>
* <li>{@code null} if undefined.</li>
* </ul>
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/ElementDescriptorImpl.java
===================================================================
---
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/ElementDescriptorImpl.java 2009-07-17
19:30:48 UTC (rev 17136)
+++
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/ElementDescriptorImpl.java 2009-07-17
19:56:59 UTC (rev 17137)
@@ -59,7 +59,12 @@
return Collections.unmodifiableSet( constraintDescriptors );
}
+ //FIXME remove when HV depends on BV post CR3 (typo in the method name)
public Set<ConstraintDescriptor<?>>
getUnorderdConstraintDescriptorsMatchingGroups(Class<?>... groups) {
+ return getUnorderedConstraintDescriptorsMatchingGroups( groups );
+ }
+
+ public Set<ConstraintDescriptor<?>>
getUnorderedConstraintDescriptorsMatchingGroups(Class<?>... groups) {
Set<ConstraintDescriptor<?>> matchingDescriptors = new
HashSet<ConstraintDescriptor<?>>();
GroupChain groupChain = new GroupChainGenerator().getGroupChainFor( Arrays.asList(
groups ) );
Iterator<Group> groupIterator = groupChain.getGroupIterator();
Show replies by date