cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r765096 - in /cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet: SitemapDelegator.java XMLSitemapServlet.java
Date Wed, 15 Apr 2009 09:41:07 GMT
Author: reinhard
Date: Wed Apr 15 09:41:07 2009
New Revision: 765096

URL: http://svn.apache.org/viewvc?rev=765096&view=rev
Log:
remove obsolete sitemap delegator

Removed:
    cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/SitemapDelegator.java
Modified:
    cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/XMLSitemapServlet.java

Modified: cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/XMLSitemapServlet.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/XMLSitemapServlet.java?rev=765096&r1=765095&r2=765096&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/XMLSitemapServlet.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/XMLSitemapServlet.java
Wed Apr 15 09:41:07 2009
@@ -98,7 +98,6 @@
         try {
             Settings settings = (Settings) this.beanFactory.getBean(Settings.class.getName());
 
-            SitemapDelegator.setSitemapServlet(this);
             MimeTypeCollector.clearMimeType();
             StatusCodeCollector.clearStatusCode();
             LastModifiedCollector.clearLastModified();
@@ -167,7 +166,6 @@
         } catch (Exception e) {
             throw this.wrapException(e, "An exception occurred while executing the sitemap.");
         } finally {
-            SitemapDelegator.removeSitemapServlet();
             this.logger.info("Sitemap execution took " + (System.nanoTime() - start) / 1000000f
+ " ms.");
         }
     }



Mime
View raw message