You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ed...@apache.org on 2003/09/09 12:29:14 UTC

cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/workflow WorkflowFactory.java

edith       2003/09/09 03:29:14

  Modified:    src/java/org/apache/lenya/cms/workflow WorkflowFactory.java
  Log:
  Give the situation to the initHistory method
  
  Revision  Changes    Path
  1.23      +3 -3      cocoon-lenya/src/java/org/apache/lenya/cms/workflow/WorkflowFactory.java
  
  Index: WorkflowFactory.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/workflow/WorkflowFactory.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- WorkflowFactory.java	1 Sep 2003 17:01:48 -0000	1.22
  +++ WorkflowFactory.java	9 Sep 2003 10:29:14 -0000	1.23
  @@ -262,10 +262,10 @@
        * @param destinationDocument The document to initialize the history for.
        * @throws WorkflowException When something goes wrong.
        */
  -    public static void initHistory(Document sourceDocument, Document destinationDocument)
  +    public static void initHistory(Document sourceDocument, Document destinationDocument, Situation situation)
           throws WorkflowException {
           CMSHistory history = new CMSHistory(sourceDocument);
  -        history.initialize(destinationDocument, null);
  +        history.initialize(destinationDocument, situation);
       }
   
   }
  
  
  

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