Ver código fonte

Removed bug (accidental double negation) in fqn computation.

tomqc86@googlemail.com 11 anos atrás
pai
commit
564c685acb

+ 1 - 1
plugins/org.yakindu.sct.simulation.core/src/org/yakindu/sct/simulation/core/debugmodel/SCTDebugElement.java

@@ -46,7 +46,7 @@ public class SCTDebugElement extends DebugElement {
 		List<String> qfnFragments = new ArrayList<String>();
 		qfnFragments.add(element.getName());
 		EObject current = element;
-		while (!(current.eContainer() != EcoreUtil.getRootContainer(current))) {
+		while (current.eContainer() != EcoreUtil.getRootContainer(current)) {
 			current = current.eContainer();
 			if (current instanceof NamedElement) {
 				String name = ((NamedElement) current).getName();