summaryrefslogtreecommitdiff
path: root/java/util/Hashtable.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/util/Hashtable.java')
-rw-r--r--java/util/Hashtable.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/java/util/Hashtable.java b/java/util/Hashtable.java
index de3c4a944..2e265a473 100644
--- a/java/util/Hashtable.java
+++ b/java/util/Hashtable.java
@@ -1022,12 +1022,9 @@ public class Hashtable<K, V> extends Dictionary<K, V>
/**
* Returns true if the Iterator has more elements.
* @return true if there are more elements
- * @throws ConcurrentModificationException if the hashtable was modified
*/
public boolean hasNext()
{
- if (knownMod != modCount)
- throw new ConcurrentModificationException();
return count > 0;
}