cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1355054 - in /cocoon/cocoon3/trunk: cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java cocoon-stringtemplate/src/main/java/org/apache/cocoon/stringtemplate/StringTemplateGenerator.java
Date Thu, 28 Jun 2012 15:51:53 GMT
Author: ilgrosso
Date: Thu Jun 28 15:51:50 2012
New Revision: 1355054

URL: http://svn.apache.org/viewvc?rev=1355054&view=rev
Log:
Using new sitemap-related feature from ParamCacheKey

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java
    cocoon/cocoon3/trunk/cocoon-stringtemplate/src/main/java/org/apache/cocoon/stringtemplate/StringTemplateGenerator.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java?rev=1355054&r1=1355053&r2=1355054&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/XSLTTransformer.java
Thu Jun 28 15:51:50 2012
@@ -264,7 +264,7 @@ public class XSLTTransformer extends Abs
 
         final CompoundCacheKey cacheKey = new CompoundCacheKey();
         cacheKey.addCacheKey(new TimestampCacheKey(this.source, URLUtils.getLastModified(this.source)));
-        cacheKey.addCacheKey(new ParameterCacheKey("contextParameters", this.parameters));
+        cacheKey.addCacheKey(new ParameterCacheKey().setSitemapParameters(this.parameters));
 
         return cacheKey;
     }

Modified: cocoon/cocoon3/trunk/cocoon-stringtemplate/src/main/java/org/apache/cocoon/stringtemplate/StringTemplateGenerator.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-stringtemplate/src/main/java/org/apache/cocoon/stringtemplate/StringTemplateGenerator.java?rev=1355054&r1=1355053&r2=1355054&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-stringtemplate/src/main/java/org/apache/cocoon/stringtemplate/StringTemplateGenerator.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-stringtemplate/src/main/java/org/apache/cocoon/stringtemplate/StringTemplateGenerator.java
Thu Jun 28 15:51:50 2012
@@ -97,7 +97,7 @@ public class StringTemplateGenerator ext
 
         final CompoundCacheKey cacheKey = new CompoundCacheKey();
         cacheKey.addCacheKey(new TimestampCacheKey(this.url, URLUtils.getLastModified(this.url)));
-        cacheKey.addCacheKey(new ParameterCacheKey("contextParameters", this.parameters));
+        cacheKey.addCacheKey(new ParameterCacheKey().setSitemapParameters(this.parameters));
 
         return cacheKey;
     }



Mime
View raw message