"Jeffrey D.Brekke" wrote:
> 
> FYI:
> 
> I couldn't get isCacheable() to work.  If I returned false, it was still
> placed in the portlet cache.  I don't know if it is the correct place for it,
> but it works now. I patched:
> 
> Index: PortletCache.java
> ===================================================================
> RCS file:
> 
>/products/cvs/jetspeed/jetspeed/src/java/org/apache/jetspeed/cache/PortletCache.java,v
> retrieving revision 1.8
> diff -r1.8 PortletCache.java
> 124a125,126
> >         if (item.isCacheable())
> >         {
> 130,131d131
> <
> <         store.hold( handle, item);
> 132a133,134
> >         store.hold( handle, item);
> >         }
> 

Good.  More defensive programming :)


-- 
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
"For evil to win is for good men to do nothing."


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to