lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/workflow WorkflowFactoryImpl.java
Date Fri, 30 May 2003 20:01:30 GMT
andreas     2003/05/30 13:01:30

  Modified:    src/java/org/apache/lenya/cms/workflow
                        WorkflowFactoryImpl.java
  Log:
  calling buildWorkflow() in a static way
  
  Revision  Changes    Path
  1.2       +1 -2      cocoon-lenya/src/java/org/apache/lenya/cms/workflow/WorkflowFactoryImpl.java
  
  Index: WorkflowFactoryImpl.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/workflow/WorkflowFactoryImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WorkflowFactoryImpl.java	30 May 2003 19:32:44 -0000	1.1
  +++ WorkflowFactoryImpl.java	30 May 2003 20:01:30 -0000	1.2
  @@ -95,8 +95,7 @@
               File workflowDirectory = new File(publicationDirectory, WORKFLOW_DIRECTORY);
               File workflowFile = new File(workflowDirectory, source);
   
  -            WorkflowBuilder builder = new WorkflowBuilder();
  -            workflow = builder.buildWorkflow(workflowFile);
  +            workflow = WorkflowBuilder.buildWorkflow(workflowFile);
           } catch (Exception e) {
               throw new WorkflowBuildException(e);
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message