Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
9.1.6.Final, 9.2.0.CR3
-
None
Description
JCache.put() has a void return but in spite of that it retrieves the previous value.
If the caller was getAndPut(), it'd make sense getting previous value.
If external policy is set to anything other than eternal external policy, it'd make sense to get previous value to see if put is create or update (to get expiry).
Any other time, getting previous value should not be necessary.