From 0d83ee8505ac6bd1414b0a53157c8b5ab4c264bc Mon Sep 17 00:00:00 2001 From: Fayez Abu Alia Date: Thu, 11 Oct 2018 16:01:26 +0200 Subject: [PATCH] modified: src/de/dhbwstuttgart/bytecode/signature/Signature.java Zyklen werden abgefangen. --- src/de/dhbwstuttgart/bytecode/signature/Signature.java | 3 +++ 1 file changed, 3 insertions(+) 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++; }