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.10 by jsr166, Mon Apr 18 05:18:29 2005 UTC vs.
Revision 1.11 by jsr166, Mon May 2 16:35:52 2005 UTC

# Line 1338 | Line 1338 | public class TreeMap<K,V>
1338              TreeMap.Entry<K,V> e = fromStart ? getFirstEntry() : getCeilingEntry(fromKey);
1339              K first = key(e);
1340              if (!toEnd && compare(first, toKey) >= 0)
1341 <                throw(new NoSuchElementException());
1341 >                throw new NoSuchElementException();
1342              return first;
1343          }
1344  
# Line 1346 | Line 1346 | public class TreeMap<K,V>
1346              TreeMap.Entry<K,V> e = toEnd ? getLastEntry() : getLowerEntry(toKey);
1347              K last = key(e);
1348              if (!fromStart && compare(last, fromKey) < 0)
1349 <                throw(new NoSuchElementException());
1349 >                throw new NoSuchElementException();
1350              return last;
1351          }
1352  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines