cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Tessner <r...@dingle.myra.com>
Subject [c2] MRUMemoryStore bug & patch
Date Thu, 23 Aug 2001 03:38:41 GMT
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.


Mime
View raw message