cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/sitemap AbstractSitemap.java
Date Thu, 14 Jun 2001 16:43:41 GMT
bloritsch    01/06/14 09:43:41

  Modified:    src/org/apache/cocoon/sitemap Tag: cocoon_20_branch
                        AbstractSitemap.java
  Log:
  Refix sub-sitemap
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.9   +6 -2      xml-cocoon2/src/org/apache/cocoon/sitemap/AbstractSitemap.java
  
  Index: AbstractSitemap.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/sitemap/AbstractSitemap.java,v
  retrieving revision 1.4.2.8
  retrieving revision 1.4.2.9
  diff -u -r1.4.2.8 -r1.4.2.9
  --- AbstractSitemap.java	2001/06/14 11:13:09	1.4.2.8
  +++ AbstractSitemap.java	2001/06/14 16:43:37	1.4.2.9
  @@ -43,7 +43,7 @@
    * Base class for generated <code>Sitemap</code> classes
    *
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
  - * @version CVS $Revision: 1.4.2.8 $ $Date: 2001/06/14 11:13:09 $
  + * @version CVS $Revision: 1.4.2.9 $ $Date: 2001/06/14 16:43:37 $
    */
   public abstract class AbstractSitemap extends AbstractLoggable implements Sitemap, Disposable,
ThreadSafe {
       private Context context;
  @@ -91,7 +91,11 @@
           this.manager.setRoleManager(AbstractSitemap.roleManager);
   
           try {
  -            this.manager.configure(AbstractSitemap.defaultConfig);
  +            if (AbstractSitemap.defaultConfig != null) {
  +                this.manager.configure(AbstractSitemap.defaultConfig);
  +                AbstractSitemap.defaultConfig = null;
  +            }
  +
               this.urlFactory = (URLFactory)manager.lookup(Roles.URL_FACTORY);
   
               // Create Sitemap Selectors
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message