# | Line 808 | Line 808 | public class ConcurrentSkipListMap<K,V> | |
---|---|---|
808 | break; // restart if lost race to replace value | |
809 | } | |
810 | // else c < 0; fall through | |
811 | + | } else if (b == head.node) { |
812 | + | // map is empty, so type check key now |
813 | + | cpr(cmp, key, key); |
814 | } | |
815 | ||
816 | z = new Node<K,V>(key, value, n); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |