Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Seidewitz2016-01-08 00:13:17 +0000
committerjeremie.tatibouet2016-03-21 15:18:54 +0000
commitfcf2082a5e379eb54f14a5e3b4e374a405312ab5 (patch)
treec09f00c0d02c7015fc276784eff5587865594ff1 /plugins/uml/alf
parent988992cdb7c9bb48f9704f4e5906331e92c44703 (diff)
downloadorg.eclipse.papyrus-fcf2082a5e379eb54f14a5e3b4e374a405312ab5.tar.gz
org.eclipse.papyrus-fcf2082a5e379eb54f14a5e3b4e374a405312ab5.tar.xz
org.eclipse.papyrus-fcf2082a5e379eb54f14a5e3b4e374a405312ab5.zip
Bug 476962 - Modified UML2Alf so ReturnParameters always get null names.
Change-Id: I4c6c03b323c26ae16cfb116f457e807a791cdb49 Signed-off-by: Ed Seidewitz <ed-s@modeldriven.com>
Diffstat (limited to 'plugins/uml/alf')
-rw-r--r--plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/UML2Alf.qvto3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/UML2Alf.qvto b/plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/UML2Alf.qvto
index ea498f7aa44..a30a08c6dbb 100644
--- a/plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/UML2Alf.qvto
+++ b/plugins/uml/alf/org.eclipse.papyrus.uml.alf.to.fuml/transformation/UML2Alf.qvto
@@ -362,6 +362,9 @@ mapping Parameter::toFormalParameter() : FormalParameter
}
typePart := self.map toTypedElementDefinition();
direction := self.direction.toParameterDirectionString();
+ if direction = "return" then {
+ name := null;
+ } endif;
}
mapping Parameter::toMember() : Member

Back to the top