remove Override annotations from EnumSet since they confuse Apple's Java 1.5 compiler

This commit is contained in:
Joel Dice 2012-07-02 16:15:38 -06:00
parent ef2bafcd6b
commit fcef9a7f57

View File

@ -107,7 +107,6 @@ public class EnumSet<T extends Enum<T>> extends AbstractSet<T> {
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<T extends Enum<T>> extends AbstractSet<T> {
return element;
}
@Override
public boolean hasNext() {
int indexOfNextValue = nextIndex();
if (indexOfNextValue >= 0) {
@ -131,7 +129,6 @@ public class EnumSet<T extends Enum<T>> extends AbstractSet<T> {
}
}
@Override
public void remove() {
//TODO
if (!removeAllowed) {