summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-10-11 05:23:27 (EDT)
committer Manik Kishore2012-10-11 05:23:27 (EDT)
commita97f781dea5580e9c14d1d167019916384f5858f (patch)
tree61f29a9a0ddcc97d0f0d5fd2945712795643353f
parentda2ddf0f6106dfd91b665da7442efce5351ced5c (diff)
downloadorg.eclipse.stardust.ide-a97f781dea5580e9c14d1d167019916384f5858f.zip
org.eclipse.stardust.ide-a97f781dea5580e9c14d1d167019916384f5858f.tar.gz
org.eclipse.stardust.ide-a97f781dea5580e9c14d1d167019916384f5858f.tar.bz2
CRNT-26312 Pepper: Element Comments
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@59931 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
index da08274..aac88c5 100644
--- a/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
+++ b/model/org.eclipse.stardust.model.xpdl.builder/src/main/java/org/eclipse/stardust/model/xpdl/builder/utils/ModelBuilderFacade.java
@@ -2377,13 +2377,16 @@ public class ModelBuilderFacade
{
if (element instanceof Extensible)
{
- return ((Extensible) element).getExtendedAttributes().getExtendedAttribute();
+ if (((Extensible) element).getExtendedAttributes() != null)
+ {
+ return ((Extensible) element).getExtendedAttributes().getExtendedAttribute();
+ }
}
if (element instanceof IExtensibleElement)
{
return ((IExtensibleElement) element).getAttribute();
}
- return null;
+ return new ArrayList();
}
public String getAttributeName(Object attribute)