fixed greater()

This commit is contained in:
Florian Steurer 2015-11-07 11:47:54 +01:00
parent c08a8fd347
commit b93f1dd376

View File

@ -70,10 +70,10 @@ public class FiniteClosure implements IFiniteClosure {
*/
@Override
public Set<Type> greater(Type type) {
if(!inheritanceGraph.containsKey(type))
if(!inheritanceGraph.containsKey(type.getName()))
return new HashSet<>();
return inheritanceGraph.get(type).getContentOfPredecessors();
return inheritanceGraph.get(type.getName()).getContentOfPredecessors();
}
@Override