Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 201896 | Differences between
and this patch

Collapse All | Expand All

(-)src-hierarchy/org/eclipse/hyades/models/hierarchy/util/EMFUtil.java (-1 / +7 lines)
Lines 192-198 Link Here
192
					if (isContainedIn((EObject) o, container)) {
192
					if (isContainedIn((EObject) o, container)) {
193
						if (delete) {
193
						if (delete) {
194
							if (ref.isChangeable())
194
							if (ref.isChangeable())
195
								element.eUnset(ref);
195
								// bugzilla 201896, do not call eUnset on the element here
196
								// eUnset will null the "otherBehavior" reference.
197
								// The modified flag below takes care of the right actions for the element.
198
								// Later, the invocations of a removed behavior will get cleaned up
199
								// in HyadesTPFTestSuiteAdapter.java
200
								//
201
								;//element.eUnset(ref);
196
						} else
202
						} else
197
							collectedEntries.add(o);
203
							collectedEntries.add(o);
198
						modified = true;
204
						modified = true;

Return to bug 201896