lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/ant TreePublisher.java
Date Wed, 28 May 2003 11:54:59 GMT
egli        2003/05/28 04:54:59

  Modified:    src/java/org/apache/lenya/cms/cocoon/acting
                        DefaultCreatorAction.java
               src/java/org/apache/lenya/cms/publication
                        DefaultSiteTree.java
               src/java/org/apache/lenya/cms/ant TreePublisher.java
  Log:
  Rename the serialize method to save (as serialize is already
  used in the serializable interface).
  
  Revision  Changes    Path
  1.5       +2 -2      cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/DefaultCreatorAction.java
  
  Index: DefaultCreatorAction.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/acting/DefaultCreatorAction.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DefaultCreatorAction.java	27 May 2003 14:52:38 -0000	1.4
  +++ DefaultCreatorAction.java	28 May 2003 11:54:59 -0000	1.5
  @@ -267,7 +267,7 @@
           }
   
   	// commit (sort of)
  -	siteTree.serialize();
  +	siteTree.save();
   
   	HashMap actionMap = new HashMap();
   	return actionMap;
  
  
  
  1.12      +3 -3      cocoon-lenya/src/java/org/apache/lenya/cms/publication/DefaultSiteTree.java
  
  Index: DefaultSiteTree.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/DefaultSiteTree.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DefaultSiteTree.java	28 May 2003 09:34:54 -0000	1.11
  +++ DefaultSiteTree.java	28 May 2003 11:54:59 -0000	1.12
  @@ -205,7 +205,7 @@
   	return new SiteTreeNodeImpl(node);
       }
   
  -    public void serialize()
  +    public void save()
   	throws IOException,
   	       TransformerConfigurationException,
   	       TransformerException  {
  @@ -225,7 +225,7 @@
   	    Label[] labels2 = { label_de, label_en  };
   	    sitetree.addNode("/tutorial/features", "here", labels2);
   	    
  -	    sitetree.serialize();
  +	    sitetree.save();
   	} catch (Exception e) {
   	    e.printStackTrace();
   	}
  
  
  
  1.4       +1 -1      cocoon-lenya/src/java/org/apache/lenya/cms/ant/TreePublisher.java
  
  Index: TreePublisher.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/ant/TreePublisher.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TreePublisher.java	16 May 2003 18:34:29 -0000	1.3
  +++ TreePublisher.java	28 May 2003 11:54:59 -0000	1.4
  @@ -147,7 +147,7 @@
                       documentid);
               }
   
  -            liveTree.serialize();
  +            liveTree.save();
           } catch (Exception e) {
               throw new PublishingException("Couldn't publish the tree :" +
                   absolutetreelivepath, 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