From fcef9a7f577d08e570ba0aea070e11b9f11d123d Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 2 Jul 2012 16:15:38 -0600 Subject: [PATCH] remove Override annotations from EnumSet since they confuse Apple's Java 1.5 compiler --- classpath/java/util/EnumSet.java | 3 --- 1 file changed, 3 deletions(-) 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) {