Thanks,

Applied with small change: add to mrulist only existing objects ;)

Vadim

> -----Original Message-----
> From: Rick Tessner [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 11:39 PM
> To: [EMAIL PROTECTED]
> Subject: [c2] MRUMemoryStore bug & patch
> 
> 
> Hello all,
> 
> The MRUMemoryStore.get() method is no longer retrieving items
> that have been cached to the filesystem.
> 
> The cause is that the "CacheObject" class, defined in MRUMemoryStore.java,
> is no longer used.  It would generate an NPE in the event that a
> cached object was not found in memory.
> 
> It was this NPE that then forced the get() method (via try-catch block)
> to check the filesystem cache.
> 
> This patch simply replaces the try-catch block with an if-else block. Note
> that this diff was made against the cocoon_20_branch CVS branch.
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to