On 04/26/2013 08:57 AM, Mandy Chung wrote:
On 4/25/2013 11:53 PM, Peter Levart wrote:I believe WeakCache.get(K, P) should throw NPE if key is null and I fixed that.Oops... typo sorry for the confusion.- I meant WeakCache.containsKey(V value) should throw NPE if value is null.
I agree. Analogous to ConcurrentHashMap, for example.
Mandy