mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
remove Override annotations from EnumSet since they confuse Apple's Java 1.5 compiler
This commit is contained in:
parent
ef2bafcd6b
commit
fcef9a7f57
@ -107,7 +107,6 @@ public class EnumSet<T extends Enum<T>> extends AbstractSet<T> {
|
|||||||
private int currentIndex = 0;
|
private int currentIndex = 0;
|
||||||
private boolean removeAllowed = false;
|
private boolean removeAllowed = false;
|
||||||
|
|
||||||
@Override
|
|
||||||
public T next() {
|
public T next() {
|
||||||
if (!hasNext()) {
|
if (!hasNext()) {
|
||||||
throw new NoSuchElementException("EnumSet has no more elements");
|
throw new NoSuchElementException("EnumSet has no more elements");
|
||||||
@ -121,7 +120,6 @@ public class EnumSet<T extends Enum<T>> extends AbstractSet<T> {
|
|||||||
return element;
|
return element;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasNext() {
|
public boolean hasNext() {
|
||||||
int indexOfNextValue = nextIndex();
|
int indexOfNextValue = nextIndex();
|
||||||
if (indexOfNextValue >= 0) {
|
if (indexOfNextValue >= 0) {
|
||||||
@ -131,7 +129,6 @@ public class EnumSet<T extends Enum<T>> extends AbstractSet<T> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void remove() {
|
public void remove() {
|
||||||
//TODO
|
//TODO
|
||||||
if (!removeAllowed) {
|
if (!removeAllowed) {
|
||||||
|
Loading…
Reference in New Issue
Block a user