Author: julien(a)jboss.com
Date: 2008-03-04 19:58:25 -0500 (Tue, 04 Mar 2008)
New Revision: 10197
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/aspects/portlet/ConsumerCacheInterceptor.java
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/api/MimeResponseImpl.java
Log:
minor cleanup
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/aspects/portlet/ConsumerCacheInterceptor.java
===================================================================
---
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/aspects/portlet/ConsumerCacheInterceptor.java 2008-03-04
23:11:55 UTC (rev 10196)
+++
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/aspects/portlet/ConsumerCacheInterceptor.java 2008-03-05
00:58:25 UTC (rev 10197)
@@ -194,8 +194,6 @@
}
}
- // Compute the validation token
-
// Cache if we can
if (expirationTimeMillis > 0)
{
Modified:
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/api/MimeResponseImpl.java
===================================================================
---
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/api/MimeResponseImpl.java 2008-03-04
23:11:55 UTC (rev 10196)
+++
modules/portlet/trunk/portlet/src/main/java/org/jboss/portal/portlet/impl/jsr168/api/MimeResponseImpl.java 2008-03-05
00:58:25 UTC (rev 10197)
@@ -68,12 +68,6 @@
// Configure expiration value
PortletInfo info = preq.container.getInfo();
- CacheInfo cacheInfo = info.getCache();
- org.jboss.portal.portlet.cache.CacheControl cc = new
org.jboss.portal.portlet.cache.CacheControl(
- cacheInfo.getExpirationSecs(),
- CacheScope.PRIVATE,
- null
- );
// 0 means no buffering - we say no buffering
this.bufferSize = 0;
Show replies by date