Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Wagelaar2015-07-03 05:34:08 -0400
committerDennis Wagelaar2015-07-03 05:34:08 -0400
commitda3f913d7f3c726dab21dff345380455570dfa2b (patch)
tree4cd83e40dc69e65fb17477e11257159266e6ca3a /plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse
parentfe43639fac463224b45d96a9ae086148e762106b (diff)
downloadorg.eclipse.atl-da3f913d7f3c726dab21dff345380455570dfa2b.tar.gz
org.eclipse.atl-da3f913d7f3c726dab21dff345380455570dfa2b.tar.xz
org.eclipse.atl-da3f913d7f3c726dab21dff345380455570dfa2b.zip
Fix bug: refSetValue() and refUnsetValue() should return 'self'.
Diffstat (limited to 'plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse')
-rw-r--r--plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/OCLOperations.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/OCLOperations.java b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/OCLOperations.java
index ad0a142a..087bf8a4 100644
--- a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/OCLOperations.java
+++ b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/OCLOperations.java
@@ -498,7 +498,7 @@ public final class OCLOperations {
"Cannot find property %s::%s", ecls.getName(), propname));
}
((EObject)object).eSet(sf, value);
- return null;
+ return object;
}
throw new VMException(frame, String.format(
"Cannot set properties for regular objects: %s",
@@ -521,7 +521,7 @@ public final class OCLOperations {
"Cannot find property %s::%s", ecls.getName(), propname));
}
((EObject)object).eUnset(sf);
- return null;
+ return object;
}
throw new VMException(frame, String.format(
"Cannot unset properties for regular objects: %s",

Back to the top