diff options
author | Wesley Wolfe <weswolf@aol.com> | 2013-04-04 01:22:50 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-04-04 01:22:50 -0500 |
commit | 055c13461d0db585e9d1f3b52b8678440285f4a3 (patch) | |
tree | a0cb8158e450b54ffd064a22de342be083cf0946 | |
parent | d95a4705cb35319c3456197229be4c6de4cbd521 (diff) | |
download | craftbukkit-055c13461d0db585e9d1f3b52b8678440285f4a3.tar craftbukkit-055c13461d0db585e9d1f3b52b8678440285f4a3.tar.gz craftbukkit-055c13461d0db585e9d1f3b52b8678440285f4a3.tar.lz craftbukkit-055c13461d0db585e9d1f3b52b8678440285f4a3.tar.xz craftbukkit-055c13461d0db585e9d1f3b52b8678440285f4a3.zip |
We compile for 1.5
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/util/WeakCollection.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/util/WeakCollection.java b/src/main/java/org/bukkit/craftbukkit/util/WeakCollection.java index d63348af..7e5bcbf7 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<T> implements Collection<T> { Iterator<WeakReference<T>> 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<T> implements Collection<T> { return false; } - @Override public T next() throws NoSuchElementException { if (!hasNext()) { throw new NoSuchElementException("No more elements"); @@ -96,7 +94,6 @@ public final class WeakCollection<T> implements Collection<T> { return value; } - @Override public void remove() throws IllegalStateException { if (value != NO_VALUE) { throw new IllegalStateException("No last element"); |