diff --git a/src/main/java/org/bukkit/craftbukkit/util/WeakCollection.java b/src/main/java/org/bukkit/craftbukkit/util/WeakCollection.java index d63348aff1..7e5bcbf725 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/WeakCollection.java +++ b/src/main/java/org/bukkit/craftbukkit/util/WeakCollection.java @@ -61,7 +61,6 @@ public final class WeakCollection implements Collection { Iterator> it = collection.iterator(); Object value = NO_VALUE; - @Override public boolean hasNext() { Object value = this.value; if (value != null && value != NO_VALUE) { @@ -84,7 +83,6 @@ public final class WeakCollection implements Collection { return false; } - @Override public T next() throws NoSuchElementException { if (!hasNext()) { throw new NoSuchElementException("No more elements"); @@ -96,7 +94,6 @@ public final class WeakCollection implements Collection { return value; } - @Override public void remove() throws IllegalStateException { if (value != NO_VALUE) { throw new IllegalStateException("No last element");