Project

General

Profile

Revision edc792d8

IDedc792d813878e4a0d02c6027f946dde95238ab1
Parent 9c45d4e5
Child 682caf2f

Added by Andreas Müller almost 4 years ago

minor

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/hibernate/name/HomotypicalGroupDaoHibernateImpl.java
32 32
		super(HomotypicalGroup.class);
33 33
	}
34 34

  
35
	/* (non-Javadoc)
36
	 * @see eu.etaxonomy.cdm.persistence.dao.name.IHomotypicalGroupDao#getTypeDesignations(eu.etaxonomy.cdm.model.name.HomotypicalGroup, java.lang.Class, eu.etaxonomy.cdm.model.name.TypeDesignationStatusBase, java.lang.Integer, java.lang.Integer, java.util.List)
37
	 */
38 35
	@Override
39 36
	public <T extends TypeDesignationBase> List<T> getTypeDesignations(
40 37
			HomotypicalGroup homotypicalGroup, Class<T> type,
......
71 68
				query.setFirstResult(0);
72 69
			}
73 70
		}
74
		return defaultBeanInitializer.initializeAll(query.list(), propertyPaths);
71
		@SuppressWarnings("unchecked")
72
        List<T> result = defaultBeanInitializer.initializeAll(query.list(), propertyPaths);
73
		return result;
75 74
	}
76 75

  
77 76

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)