Author: hardy.ferentschik
Date: 2009-06-22 10:48:50 -0400 (Mon, 22 Jun 2009)
New Revision: 16859
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util/ReflectionHelper.java
Log:
HV-173
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util/ReflectionHelper.java
===================================================================
---
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util/ReflectionHelper.java 2009-06-22
14:46:49 UTC (rev 16858)
+++
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/util/ReflectionHelper.java 2009-06-22
14:48:50 UTC (rev 16859)
@@ -335,7 +335,7 @@
iter = map.values().iterator();
}
else if ( TypeUtils.isArray( type ) ) {
- List<?> arrayList = Arrays.asList( value );
+ List<?> arrayList = Arrays.asList( (Object) value );
iter = arrayList.iterator();
}