diff options
author | Dennis Wagelaar | 2015-07-03 09:34:08 +0000 |
---|---|---|
committer | Dennis Wagelaar | 2015-07-03 09:34:08 +0000 |
commit | da3f913d7f3c726dab21dff345380455570dfa2b (patch) | |
tree | 4cd83e40dc69e65fb17477e11257159266e6ca3a /plugins/org.eclipse.m2m.atl.emftvm | |
parent | fe43639fac463224b45d96a9ae086148e762106b (diff) | |
download | org.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')
-rw-r--r-- | plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/util/OCLOperations.java | 4 |
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", |