diff options
Diffstat (limited to 'java/util/TreeMap.java')
-rw-r--r-- | java/util/TreeMap.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/java/util/TreeMap.java b/java/util/TreeMap.java index d366f067e..88abce10d 100644 --- a/java/util/TreeMap.java +++ b/java/util/TreeMap.java @@ -1434,12 +1434,9 @@ public class TreeMap<K, V> extends AbstractMap<K, V> /** * Returns true if the Iterator has more elements. * @return true if there are more elements - * @throws ConcurrentModificationException if the TreeMap was modified */ public boolean hasNext() { - if (knownMod != modCount) - throw new ConcurrentModificationException(); return next != max; } |