diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-09-30 16:07:35 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-09-30 16:07:35 +0200 |
| commit | 845047d1fb81062599a914106949f5dd7ba67eee (patch) | |
| tree | b7db4363b8a04dac9e6362f2f636791d1f71b111 /src/main/java/com/c2kernel/gui/lifecycle/instance/WfVertexFactory.java | |
| parent | 7b3a30e9934c61bceddec23844556a452f1c7c82 (diff) | |
Remove misuse of Serializable
Diffstat (limited to 'src/main/java/com/c2kernel/gui/lifecycle/instance/WfVertexFactory.java')
| -rw-r--r-- | src/main/java/com/c2kernel/gui/lifecycle/instance/WfVertexFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/c2kernel/gui/lifecycle/instance/WfVertexFactory.java b/src/main/java/com/c2kernel/gui/lifecycle/instance/WfVertexFactory.java index e7f0034..91a0837 100644 --- a/src/main/java/com/c2kernel/gui/lifecycle/instance/WfVertexFactory.java +++ b/src/main/java/com/c2kernel/gui/lifecycle/instance/WfVertexFactory.java @@ -28,7 +28,7 @@ public class WfVertexFactory implements VertexFactory, WorkflowDialogue vertexTypeId = (String) typeNameAndConstructionInfo.mInfo;
if (vertexTypeId.equals("Atomic") || vertexTypeId.equals("Composite"))
{
- HashMap<String, Serializable> mhm = new HashMap<String, Serializable>();
+ HashMap<String, Object> mhm = new HashMap<String, Object>();
mhm.put("P1", vertexTypeId);
mhm.put("P2", location);
//************************************************
@@ -52,7 +52,7 @@ public class WfVertexFactory implements VertexFactory, WorkflowDialogue mRootAct = (CompositeActivity) newContext;
}
@Override
- public void loadThisWorkflow(String newName, HashMap<String, Serializable> hashMap)
+ public void loadThisWorkflow(String newName, HashMap<String, Object> hashMap)
{
String vertexTypeId = (String) hashMap.get("P1");
GraphPoint location = (GraphPoint) hashMap.get("P2");
|
