dims        01/08/28 09:51:38

  Modified:    src/org/apache/cocoon/sitemap Manager.java
  Log:
  Remove redundant environment.changeContext.
  
  Revision  Changes    Path
  1.12      +1 -3      xml-cocoon2/src/org/apache/cocoon/sitemap/Manager.java
  
  Index: Manager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/sitemap/Manager.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Manager.java      2001/08/20 21:47:30     1.11
  +++ Manager.java      2001/08/28 16:51:38     1.12
  @@ -34,7 +34,7 @@
    * checking regeneration of the sub <code>Sitemap</code>
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Giacomo Pati</a>
  - * @version CVS $Revision: 1.11 $ $Date: 2001/08/20 21:47:30 $
  + * @version CVS $Revision: 1.12 $ $Date: 2001/08/28 16:51:38 $
    */
   public class Manager extends AbstractLoggable implements Component, Configurable, 
Composable, Contextualizable, ThreadSafe {
       private Context context;
  @@ -123,7 +123,6 @@
               // get a sitemap handler
               Handler sitemapHandler = getHandler(newManager, environment, source, 
check_reload, reload_asynchron);
               // setup to invoke the processing
  -            environment.changeContext(uri_prefix, source);
               setupProcessing(environment, sitemapHandler, uri_prefix, source);
               URL context = environment.getContext();
               try{
  @@ -205,7 +204,6 @@
   
       private void setupProcessing(Environment environment, Handler sitemapHandler, 
String uri_prefix,
           String source) throws Exception {
  -//            environment.changeContext(uri_prefix, source);
               if (!sitemapHandler.available()) {
                   throw new ProcessingException("The sitemap handler's sitemap is not 
available. " +
                       "Please check "+ logFilePath +" for the exact error.",
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to