incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (Commented) (JIRA)" <>
Subject [jira] [Commented] (DIRECTMEMORY-65) put vs update - not consistent
Date Mon, 20 Feb 2012 10:10:36 GMT


Simone Tripodi commented on DIRECTMEMORY-65:

I couldn't agree on it? :) The [Map#put(K, V)|,
V)] is indeed the perfect pattern!

+1 for that change, and good catch!
> put vs update - not consistent
> ------------------------------
>                 Key: DIRECTMEMORY-65
>                 URL:
>             Project: Apache DirectMemory
>          Issue Type: Wish
>            Reporter: Daniel Manzke
> There should only be one way to create / update a value. For a cache it makes no difference
if a key already exists or not. It is like a Map, which only has a put and no update method.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message