diff options
| author | abranson <andrew.branson@cern.ch> | 2011-08-02 22:10:28 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-08-02 22:10:28 +0200 |
| commit | 5664fd4644c78f4571a1a72e6b9f0511fb10720a (patch) | |
| tree | 7be1c346d1d001bf6b079089f995a60c52b955c1 /source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java | |
| parent | 29bbf451a22916d39017ec1a3f53f4e0f0e65ee0 (diff) | |
Finished move to generics. Enforced 1.6 compliance for now. No errors or
warnings :)
Diffstat (limited to 'source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java')
| -rw-r--r--[-rwxr-xr-x] | source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java b/source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java index 0cb60e7..2ef9508 100755..100644 --- a/source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java +++ b/source/com/c2kernel/lifecycle/gui/model/WfVertexDefFactory.java @@ -1,5 +1,6 @@ package com.c2kernel.lifecycle.gui.model;
import java.awt.Point;
+import java.io.Serializable;
import java.util.HashMap;
import javax.swing.JOptionPane;
@@ -28,7 +29,7 @@ public class WfVertexDefFactory implements VertexFactory, WorkflowDialogue if (vertexTypeId.equals("Atomic") || vertexTypeId.equals("Composite"))
{
// ask for a name
- HashMap mhm = new HashMap();
+ HashMap<String, Serializable> mhm = new HashMap<String, Serializable>();
mhm.put("P1", vertexTypeId);
mhm.put("P2", location);
//************************************************
|
