[jboss-cvs] JBossAS SVN: r95878 - projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Oct 30 22:49:38 EDT 2009
Author: laubai
Date: 2009-10-30 22:49:37 -0400 (Fri, 30 Oct 2009)
New Revision: 95878
Modified:
projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US/checkconstraints.xml
projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US/defineconstraints.xml
Log:
Added changes for JBPAPP-2976.
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US/checkconstraints.xml
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US/checkconstraints.xml 2009-10-31 02:36:36 UTC (rev 95877)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US/checkconstraints.xml 2009-10-31 02:49:37 UTC (rev 95878)
@@ -138,7 +138,7 @@
InvalidValue[] validationMessages = addressValidator.getInvalidValues(address, "city");
//only get potential city property invalid values
-InvalidValue[] validationMessages = addressValidator.getPotentialInvalidValues("city", "Paris")</programlisting>
+InvalidValue[] validationMessages = addressValidator.getPotentialInvalidValues("city", "Paris");</programlisting>
</section>
<section>
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US/defineconstraints.xml
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US/defineconstraints.xml 2009-10-31 02:36:36 UTC (rev 95877)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Validator/en-US/defineconstraints.xml 2009-10-31 02:49:37 UTC (rev 95878)
@@ -205,7 +205,7 @@
</row>
<row>
- <entry>@Digits</entry>
+ <entry>@Digits(integerDigits=1)</entry>
<entry>property (numeric or string representation of a
numeric)</entry>
@@ -437,7 +437,7 @@
<para>While the example only shows public property validation, you can
also annotate fields of any kind of visibility</para>
- <programlisting>@MyBeanConstraint(max=45
+ <programlisting>@MyBeanConstraint(max=45)
public class Dog {
@AssertTrue private boolean isMale;
@NotNull protected String getName() { ... };
More information about the jboss-cvs-commits
mailing list