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

avoid foreign object to be still known by others

parent 44d012d5
No related branches found
No related tags found
1 merge request!21Resolve "update to changes in RiseClipseMain"
......@@ -125,7 +125,9 @@ public abstract class CimResourceImpl extends XMLResourceImpl implements IRiseCl
EClass c = original.eClass();
for( EStructuralFeature f : c.getEAllStructuralFeatures() ) {
if( object.eIsSet( f ) ) {
original.eSet( f, object.eGet( f ) );
Object value = object.eGet( f );
object.eUnset( f );
original.eSet( f, value );
}
}
this.getContents().remove( object );
......
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