ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/TreeMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/TreeMap.java (file contents):
Revision 1.48 by jsr166, Tue Jul 21 23:52:59 2009 UTC vs.
Revision 1.49 by jsr166, Wed Sep 1 07:48:47 2010 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines