mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +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 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user