You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2004/03/02 09:13:21 UTC

Replacement for hashcode() in CacheKeys...

Hi:

Looking inside commons-collections I found this class:

org.apache.commons.collections.keyvalue.MultiKey

I wonder if it can help in:

o.a.c.cache.ComponentCacheKey and
o.a.c.cache.PipelineCacheKey

inside the code of both hashcode() there is this comment:

// FIXME - this is not very safe

Best Regards,

Antonio Gallardo.