You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/04/01 01:15:44 UTC

svn commit: r1087490 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/SRSCachingInterceptor.java

Author: hlship
Date: Thu Mar 31 23:15:44 2011
New Revision: 1087490

URL: http://svn.apache.org/viewvc?rev=1087490&view=rev
Log:
TAP5-73: Fix logic for when to cache results to cache always when NOT aggregating

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/SRSCachingInterceptor.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/SRSCachingInterceptor.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/SRSCachingInterceptor.java?rev=1087490&r1=1087489&r2=1087490&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/SRSCachingInterceptor.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/SRSCachingInterceptor.java Thu Mar 31 23:15:44 2011
@@ -44,7 +44,7 @@ public class SRSCachingInterceptor imple
     public StreamableResource getStreamableResource(Resource baseResource, StreamableResourceProcessing processing)
             throws IOException
     {
-        if (processing != StreamableResourceProcessing.FOR_AGGREGATION)
+        if (processing == StreamableResourceProcessing.FOR_AGGREGATION)
             return delegate.getStreamableResource(baseResource, processing);
 
         StreamableResource result = cache.get(baseResource);