diff --git a/classpath/java/util/EnumSet.java b/classpath/java/util/EnumSet.java index 72d9104a0e..42c6f4748a 100644 --- a/classpath/java/util/EnumSet.java +++ b/classpath/java/util/EnumSet.java @@ -107,7 +107,6 @@ public class EnumSet> extends AbstractSet { private int currentIndex = 0; private boolean removeAllowed = false; - @Override public T next() { if (!hasNext()) { throw new NoSuchElementException("EnumSet has no more elements"); @@ -121,7 +120,6 @@ public class EnumSet> extends AbstractSet { return element; } - @Override public boolean hasNext() { int indexOfNextValue = nextIndex(); if (indexOfNextValue >= 0) { @@ -131,7 +129,6 @@ public class EnumSet> extends AbstractSet { } } - @Override public void remove() { //TODO if (!removeAllowed) {