Skip to content
Snippets Groups Projects
Commit 3fd25cbc authored by Dominique Marcadet's avatar Dominique Marcadet
Browse files

avoid multiple calls on same object to builsExplicitLinks()

parent 54c4accb
No related branches found
No related tags found
1 merge request!31Resolve "missing link between DataObject and its underlyingType"
......@@ -164,9 +164,7 @@ public abstract class NsdObjectImpl extends MinimalEObjectImpl.Container impleme
public boolean buildExplicitLinks( IRiseClipseConsole console, boolean forceUpdate ) {
if( ( !forceUpdate ) && isExplicitLinksBuilt() ) return true;
TreeIterator< EObject > it = eAllContents();
while( it.hasNext() ) {
EObject o = it.next();
for( EObject o : eContents() ) {
if( o instanceof NsdObject ) {
( ( NsdObject ) o ).buildExplicitLinks( console, forceUpdate );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment