In BoundedConcurrentHashMap.containsValue(), there are three assignments
whose left-side variable isn't accessed at all:
1) int sum = 0;
2) int c = segments[i].count;
3) int c = segments[i].count; (same with 2 but in a different place)
The first one is apparently safe to remove but I'm not sure about the
others. Is there any reason to retain them, or can we remove them simply?
--
Trustin Lee -
http://gleamynode.net/