# | Line 2142 | Line 2142 | public class TreeMap<K,V> | |
---|---|---|
2142 | // If strictly internal, copy successor's element to p and then make p | |
2143 | // point to successor. | |
2144 | if (p.left != null && p.right != null) { | |
2145 | < | Entry<K,V> s = successor (p); |
2145 | > | Entry<K,V> s = successor(p); |
2146 | p.key = s.key; | |
2147 | p.value = s.value; | |
2148 | p = s; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |