summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-08-20 06:35:05 (EDT)
committer Manik Kishore2012-08-20 06:35:05 (EDT)
commit3486b28a2b28aa4611c479fad8a407f6ca9bdb7f (patch)
treeea581f5ac6e25e6e3d26f6c733570ecebcb01b56
parent6dfeb59b028af966696492d6d8b078ced86a98cd (diff)
downloadorg.eclipse.stardust.ui.web-3486b28a2b28aa4611c479fad8a407f6ca9bdb7f.zip
org.eclipse.stardust.ui.web-3486b28a2b28aa4611c479fad8a407f6ca9bdb7f.tar.gz
org.eclipse.stardust.ui.web-3486b28a2b28aa4611c479fad8a407f6ca9bdb7f.tar.bz2
CRNT-25760 Refactor/Clean up MB Facade: Refactor finder-Methods
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@58534 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
index 28396c9..4de3844 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
@@ -374,12 +374,8 @@ public abstract class ModelElementUnmarshaller
DataPathType dataPath = getModelBuilderFacade().createDataPath();
String dataFullId = dataPathJson.get(ModelerConstants.DATA_FULL_ID_PROPERTY)
.getAsString();
-
- // TODO Very ugly facade syntax
-
- DataType data = getModelBuilderFacade().findData(
- getModelBuilderFacade().findModel(getModelBuilderFacade().getModelId(dataFullId)),
- getModelBuilderFacade().stripFullId(dataFullId));
+
+ DataType data = getModelBuilderFacade().findData(dataFullId);
dataPath.setData(data);
dataPath.setDataPath(dataPathJson.get(ModelerConstants.DATA_PATH_PROPERTY)