Author: hardy.ferentschik
Date: 2009-06-17 16:58:05 -0400 (Wed, 17 Jun 2009)
New Revision: 16825
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/BeanDescriptorImpl.java
Log:
Ficed bug in isBeanConstrained()
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/BeanDescriptorImpl.java
===================================================================
---
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/BeanDescriptorImpl.java 2009-06-17
20:57:08 UTC (rev 16824)
+++
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/metadata/BeanDescriptorImpl.java 2009-06-17
20:58:05 UTC (rev 16825)
@@ -17,7 +17,7 @@
}
public boolean isBeanConstrained() {
- return metadataBean.getConstrainedProperties().size() > 0;
+ return metadataBean.geMetaConstraintList().size() > 0;
}
public PropertyDescriptor getConstraintsForProperty(String propertyName) {
Show replies by date