[hibernate-commits] Hibernate SVN: r16757 - validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Thu Jun 11 06:21:58 EDT 2009
Author: hardy.ferentschik
Date: 2009-06-11 06:21:57 -0400 (Thu, 11 Jun 2009)
New Revision: 16757
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util/ValidatorTypeHelper.java
Log:
changed an error message
Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util/ValidatorTypeHelper.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util/ValidatorTypeHelper.java 2009-06-11 10:20:11 UTC (rev 16756)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util/ValidatorTypeHelper.java 2009-06-11 10:21:57 UTC (rev 16757)
@@ -68,7 +68,7 @@
//we now have all bind from a type to its resolution at one level
Type validatorType = ( ( ParameterizedType ) constraintValidatorType ).getActualTypeArguments()[VALIDATOR_TYPE_INDEX];
if ( validatorType == null ) {
- throw new ValidationException( "Null is an invalid type for a constraint validator." );
+ throw new ValidationException( "null is an invalid type for a constraint validator." );
}
else if ( validatorType instanceof GenericArrayType ) {
validatorType = TypeUtils.getArrayType( TypeUtils.getComponentType( validatorType ) );
More information about the hibernate-commits
mailing list