You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/03/09 23:26:41 UTC

svn commit: r156698 - lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/authoring/DocumentCreator.java

Author: michi
Date: Wed Mar  9 14:26:38 2005
New Revision: 156698

URL: http://svn.apache.org/viewcvs?view=rev&rev=156698
Log:
concrete Sitetree implementation replaced by interface

Modified:
    lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/authoring/DocumentCreator.java

Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/authoring/DocumentCreator.java
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/authoring/DocumentCreator.java?view=diff&r1=156697&r2=156698
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/authoring/DocumentCreator.java (original)
+++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/authoring/DocumentCreator.java Wed Mar  9 14:26:38 2005
@@ -22,14 +22,21 @@
 import java.io.File;
 import java.util.Collections;
 
-import org.apache.lenya.cms.publication.DefaultSiteTree;
+import org.apache.lenya.cms.publication.SiteTree;
 import org.apache.lenya.cms.publication.DocumentType;
 import org.apache.lenya.cms.publication.DocumentTypeBuildException;
 import org.apache.lenya.cms.publication.DocumentTypeBuilder;
 import org.apache.lenya.cms.publication.Label;
 import org.apache.lenya.cms.publication.Publication;
 
+import org.apache.log4j.Category;
+
+/**
+ *
+ */
 public class DocumentCreator {
+    private static Category log = Category.getInstance(DocumentCreator.class);
+
     /**
      * DOCUMENT ME!
      *
@@ -91,9 +98,10 @@
 
         ParentChildCreatorInterface creator = type.getCreator();
 
-        DefaultSiteTree siteTree;
+        SiteTree siteTree;
 
         try {
+            log.debug("Get sitetree of area: " + area);
             siteTree = publication.getSiteTree(area);
         } catch (Exception e) {
             throw new CreatorException(e);



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