cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components CocoonComponentManager.java
Date Sat, 26 Apr 2003 13:35:39 GMT
cziegeler    2003/04/26 06:35:39

  Modified:    src/java/org/apache/cocoon/components
                        CocoonComponentManager.java
  Log:
  This doesn't have to be static
  
  Revision  Changes    Path
  1.9       +4 -4      cocoon-2.1/src/java/org/apache/cocoon/components/CocoonComponentManager.java
  
  Index: CocoonComponentManager.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/CocoonComponentManager.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- CocoonComponentManager.java	24 Apr 2003 09:02:15 -0000	1.8
  +++ CocoonComponentManager.java	26 Apr 2003 13:35:39 -0000	1.9
  @@ -108,7 +108,7 @@
       private static ComponentManager rootManager;
       
       /** The {@link SitemapConfigurationHolder}s */
  -    private static Map sitemapConfigurationHolders = new HashMap(15);
  +    private Map sitemapConfigurationHolders = new HashMap(15);
       
       /** Create the ComponentManager */
       public CocoonComponentManager() {
  @@ -322,11 +322,11 @@
               // FIXME: how can we prevent that this is called over and over again?
               SitemapConfigurationHolder holder;
               
  -            holder = (SitemapConfigurationHolder)sitemapConfigurationHolders.get( role
);
  +            holder = (SitemapConfigurationHolder)this.sitemapConfigurationHolders.get(
role );
               if ( null == holder ) {
                   // create new holder
                   holder = new DefaultSitemapConfigurationHolder( role );
  -                sitemapConfigurationHolders.put( role, holder );
  +                this.sitemapConfigurationHolders.put( role, holder );
               }
   
               try {
  
  
  

Mime
View raw message