diff --git a/src/de/dhbwstuttgart/bytecode/signature/Signature.java b/src/de/dhbwstuttgart/bytecode/signature/Signature.java index 6f387f17..39668648 100644 --- a/src/de/dhbwstuttgart/bytecode/signature/Signature.java +++ b/src/de/dhbwstuttgart/bytecode/signature/Signature.java @@ -432,6 +432,9 @@ public class Signature { while(subAndSuperTph.containsKey(superTph)) { superTph = subAndSuperTph.get(superTph); + if(tphsInRel.containsValue(superTph)) { + break; + } tphsInRel.put(tphsInRel.size(), superTph); numOfVisitedPairs++; }