From 50e15cda4bdf679e402e8f3aac0cdb12e35166ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20D=C3=B6bber?= <doebber@in.tum.de> Date: Mon, 5 Dec 2011 14:46:02 +0000 Subject: [PATCH] cleanup --- .../org/fortiss/tooling/kernel/utils/ModelElementUtils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/utils/ModelElementUtils.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/utils/ModelElementUtils.java index 9b76a678b..6b3ed527b 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/utils/ModelElementUtils.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/utils/ModelElementUtils.java @@ -34,7 +34,7 @@ import org.fortiss.tooling.kernel.service.IPersistencyService; * @author hoelzl * @author $Author$ * @version $Rev$ - * @ConQAT.Rating YELLOW Hash: F867043B0D5335700C11A768A226A58D + * @ConQAT.Rating RED Hash: 0785670F62456B6486FFF0E0EA9B2E5A */ public final class ModelElementUtils { @@ -142,6 +142,8 @@ public final class ModelElementUtils { * @return <code>true</code> if the element is a child in the aggregation * tree of the parent element. */ + // TODO @review CD: Implementation returns true also if element == + // parentElement. Comment and name of method thus are not accurate. public static boolean isChildElementOf(EObject element, EObject parentElement) { while (element.eContainer() != null) { -- GitLab