Skip to content
Snippets Groups Projects
Commit 1038545e authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

fix warning

refs 2553
parent d0b05897
Branches
Tags
No related merge requests found
......@@ -69,7 +69,7 @@ import org.fortiss.tooling.kernel.utils.UniqueIDUtils;
* @author hummel
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash: 908BAA6397ED5750B4FAE01669F9069D
* @ConQAT.Rating GREEN Hash: C1F1C761A2C49CC4FBCD0E558AFC97B3
*/
class ModelContext implements ITopLevelElement, CommandStackListener {
......@@ -167,6 +167,7 @@ class ModelContext implements ITopLevelElement, CommandStackListener {
/** {@inheritDoc} */
@Override
public EObject getRootModelElement() {
// get(0) cause the root model element is always the first one
return resource.getContents().get(0);
}
......@@ -186,7 +187,7 @@ class ModelContext implements ITopLevelElement, CommandStackListener {
/**
* Checks whether all IDs are present and unique and updates {@link #maxId}. In case duplicate
* IDs have been detected (which could only be caused by bug in AF3), these are removed and an
* IDs have been detected (which could only be caused by a bug in AF3), these are removed and an
* error is logged.
*/
private void checkIDs() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment