Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Seidewitz2015-09-26 18:27:02 +0000
committerjeremie.tatibouet2016-03-21 15:06:19 +0000
commit55903f2b6b2155d074270750cfcacb1a82d68d37 (patch)
treeb83ca26dae3cb6e41ff06a8b75652336ed0db280 /plugins
parent0d2e5e7a476c1b45d0eb0e100a46a2e09148dd9b (diff)
downloadorg.eclipse.papyrus-55903f2b6b2155d074270750cfcacb1a82d68d37.tar.gz
org.eclipse.papyrus-55903f2b6b2155d074270750cfcacb1a82d68d37.tar.xz
org.eclipse.papyrus-55903f2b6b2155d074270750cfcacb1a82d68d37.zip
Fixed return parameter mapping for default constructors
- Set name of the return parameter for a default constructor to the empty string, consistent with the OCL-derived return parameters, so merging will work on re-compilation. Change-Id: I8e6cdadbdf0a0a7067a7d2692a510b01856ac258 Signed-off-by: Ed Seidewitz <ed-s@modeldriven.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/Alf2UML.qvto2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/Alf2UML.qvto b/plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/Alf2UML.qvto
index e4adf40a61c..04e92a1406b 100644
--- a/plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/Alf2UML.qvto
+++ b/plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/Alf2UML.qvto
@@ -514,6 +514,7 @@ mapping ClassDefinition::toClass() : Class
ownedBehavior += var activity ::= object Activity {
name := uniqueName(self.actualName() + "$method", result);
ownedParameter := object Parameter {
+ name := "";
type := result;
lower := 1;
upper := 1;
@@ -524,6 +525,7 @@ mapping ClassDefinition::toClass() : Class
name := self.actualName();
method := activity;
ownedParameter := object Parameter {
+ name := "";
type := result;
lower := 1;
upper := 1;

Back to the top