| commit | b0b134e4ea42e3e64a120018f9fda79eaa9480d7 | [log] [tgz] |
|---|---|---|
| author | jeremie.tatibouet <jeremie.tatibouet@cea.fr> | Tue Aug 22 14:56:11 2017 +0200 |
| committer | jeremie.tatibouet <jeremie.tatibouet@cea.fr> | Tue Aug 22 14:56:11 2017 +0200 |
| tree | 6799bc0dd6dd84add80d9ae013f2b354d7074fbc | |
| parent | bdaaba0deb106fe23ea22bbcbd29fd1894ba2baf [diff] |
Bug 519715 Error introduced into ReclassifyObjectActionActivation impl Change-Id: Iffd62727df81540f39edd8dbe4a2cf296f60c2d5 Signed-off-by: jeremie.tatibouet <jeremie.tatibouet@cea.fr>
diff --git a/bundles/core/engines/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/impl/Actions/CompleteActions/ReclassifyObjectActionActivation.java b/bundles/core/engines/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/impl/Actions/CompleteActions/ReclassifyObjectActionActivation.java index df19b2a..436370a 100644 --- a/bundles/core/engines/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/impl/Actions/CompleteActions/ReclassifyObjectActionActivation.java +++ b/bundles/core/engines/org.eclipse.papyrus.moka.fuml/generated/org/eclipse/papyrus/moka/fuml/Semantics/impl/Actions/CompleteActions/ReclassifyObjectActionActivation.java
@@ -66,7 +66,7 @@ toBeRemoved = !notInOld; } if (toBeRemoved) { - object.getTypes().remove(i - 1); // Apply fix for FUML12-21 ReclassifyObjectAction handles removal of structural features incorrect + object.removeType(type); // Apply fix for FUML12-21 ReclassifyObjectAction handles removal of structural features incorrect } else { i = i + 1; } @@ -80,7 +80,7 @@ j = j + 1; } if (toBeAdded) { - object.getTypes().add(classifier); // Apply fix for FUML12-21 ReclassifyObjectAction handles removal of structural features incorrect + object.addType((Class)classifier); // Apply fix for FUML12-21 ReclassifyObjectAction handles removal of structural features incorrect } } // Apply fix for FUML12-21 ReclassifyObjectAction handles removal of structural features incorrect