Author: hardy.ferentschik
Date: 2010-05-19 11:48:07 -0400 (Wed, 19 May 2010)
New Revision: 19554
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
Log:
HV-274 Uses now the new ReflectionHelper.computeClassHierarchy method
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
===================================================================
---
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java 2010-05-19
15:47:21 UTC (rev 19553)
+++
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java 2010-05-19
15:48:07 UTC (rev 19554)
@@ -252,8 +252,7 @@
private void createMetaData(AnnotationIgnores annotationIgnores, BeanMetaDataCache
beanMetaDataCache) {
beanDescriptor = new BeanDescriptorImpl<T>( this );
initDefaultGroupSequence();
- List<Class<?>> classes = new ArrayList<Class<?>>();
- ReflectionHelper.computeClassHierarchy( beanClass, classes );
+ List<Class<?>> classes = ReflectionHelper.computeClassHierarchy( beanClass
);
for ( Class<?> current : classes ) {
initClass( current, annotationIgnores, beanMetaDataCache );
}
Show replies by date