1. opensymphony
  2. osworkflow

Commits

hani  committed 974c99c

Fixed compilation error

  • Participants
  • Parent commits 3dac4be
  • Branches default

Comments (0)

Files changed (1)

File src/designer/com/opensymphony/workflow/loader/Workspace.java

View file
 
   public void importDescriptor(String name, InputStream is)
   {
-    WorkflowConfig config = new WorkflowConfig("file", name + ".xml");
+    WorkflowConfig config = new WorkflowConfig(null, "file", name + ".xml");
     try
     {
       File file = new File(workflowsXML.getParentFile(), name+".xml");
 
   public void createWorkflow(String name)
   {
-    WorkflowConfig config = new WorkflowConfig("file", null);
+    WorkflowConfig config = new WorkflowConfig(null, "file", null);
     config.descriptor = DescriptorFactory.getFactory().createWorkflowDescriptor();
     config.descriptor.setName(name);
     ActionDescriptor initialAction = DescriptorFactory.getFactory().createActionDescriptor();