Fix map usage

This commit is contained in:
Timo Westkämper 2014-01-25 19:30:11 +02:00
parent 51e7541098
commit b5303e7537

View File

@ -146,7 +146,7 @@ public abstract class AbstractDomainExporter {
Set<Supertype> additions = Sets.newHashSet();
for (Map.Entry<Class<?>, EntityType> entry : allTypes.entrySet()) {
EntityType entityType = entry.getValue();
if (entityType.getSuperType() != null && !allTypes.containsKey(entityType.getSuperType().getType())) {
if (entityType.getSuperType() != null && !allTypes.containsKey(entityType.getSuperType().getType().getJavaClass())) {
additions.add(entityType.getSuperType());
}
}