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 9b76a678b2c86ba9246c29ff5315ddbeb88e9c30..6b3ed527b100e1734106f1ead6ee68463bd63c65 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) {