[jbosscache-dev] Cache.remove() return value

Manik Surtani manik at jboss.org
Tue Oct 31 18:20:13 EST 2006


Good point, this is an oversight.  Fixed, thanks for spotting this.
--
Manik Surtani

Lead, JBoss Cache
JBoss, a division of Red Hat

Email: manik at jboss.org
Telephone: +44 7786 702 706
MSN: manik at surtani.org
Yahoo/AIM/Skype: maniksurtani


On 31 Oct 2006, at 21:35, Brian Stansberry wrote:

> Any reason Cache.remove(Fqn, Object) is a void return instead of the
> prior value for the key?  That breaks compatibility with old code.
> Node.remove(Object) and TreeCache.remove(Fqn, Object) both return the
> old value so I suspect the void return from Cache wasn't intentional.
>
> - Brian
>
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev




More information about the jbosscache-dev mailing list