[infinispan-dev] NPE with Cache.replace()

Mircea Markus mmarkus at redhat.com
Wed May 22 07:19:54 EDT 2013


On 21 May 2013, at 11:21, Sanne Grinovero <sanne at infinispan.org> wrote:

> That might not work if the hascode resolves to an uneven number, in
> that case you obviously will wish to remove the next key as well, so
> I'd rather suggest
> 
> replaceIfPresentOrPutIfNotPresentAndHashCodeIsEvenOtherwiseRemoveNextKey();
> 
> for clarity.

I'll blame it on the London weather :-)

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)






More information about the infinispan-dev mailing list