Skip to content
Snippets Groups Projects
Commit 50e15cda authored by Christoph Döbber's avatar Christoph Döbber
Browse files

cleanup

parent 411b8f72
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment