Skip to content
Snippets Groups Projects
Commit 1449cba5 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

fixed NPE

parent efd91da5
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,10 @@ class ModelContext implements ITopLevelElement {
/** {@inheritDoc} */
@Override
public void prepareIDs(EObject other) {
if (other == null) {
return;
}
boolean needSmart = false;
if (other instanceof IIdLabeled) {
if (((IIdLabeled) other).getId() <= 0) {
......
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