summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-08-23 03:44:08 (EDT)
committer Stephan Born2012-09-10 08:46:31 (EDT)
commitdf098c1fcc9d2dca38035791ea3dce23911796a0 (patch)
tree43094206444294d84bdd381bdceda754c72331d4
parentad81fa6903042a9c69707ddd4bf4c42f55e010bf (diff)
downloadorg.eclipse.stardust.ide-df098c1fcc9d2dca38035791ea3dce23911796a0.zip
org.eclipse.stardust.ide-df098c1fcc9d2dca38035791ea3dce23911796a0.tar.gz
org.eclipse.stardust.ide-df098c1fcc9d2dca38035791ea3dce23911796a0.tar.bz2
CRNT-25767 Pepper: Model changes outlive a session
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@58629 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/variable/BpmStructVariableBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/variable/BpmStructVariableBuilder.java b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/variable/BpmStructVariableBuilder.java
index af1a5f5..5fe2c63 100644
--- a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/variable/BpmStructVariableBuilder.java
+++ b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/variable/BpmStructVariableBuilder.java
@@ -101,7 +101,7 @@ public class BpmStructVariableBuilder
public BpmStructVariableBuilder ofType(String declId)
{
- if(getTypeDeclarationModel().equals(model))
+ if(getTypeDeclarationModel().getId().equals(model.getId()))
{
AttributeUtil.setAttribute(element, StructuredDataConstants.TYPE_DECLARATION_ATT,
declId);