diff options
Diffstat (limited to 'guava/src/com/google/common/collect/UnmodifiableListIterator.java')
-rw-r--r-- | guava/src/com/google/common/collect/UnmodifiableListIterator.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/guava/src/com/google/common/collect/UnmodifiableListIterator.java b/guava/src/com/google/common/collect/UnmodifiableListIterator.java index 8e535a3..fa71bdc 100644 --- a/guava/src/com/google/common/collect/UnmodifiableListIterator.java +++ b/guava/src/com/google/common/collect/UnmodifiableListIterator.java @@ -37,9 +37,8 @@ public abstract class UnmodifiableListIterator<E> * Guaranteed to throw an exception and leave the underlying data unmodified. * * @throws UnsupportedOperationException always - * @deprecated Unsupported operation. */ - @Deprecated @Override public final void add(E e) { + @Override public final void add(E e) { throw new UnsupportedOperationException(); } @@ -47,9 +46,8 @@ public abstract class UnmodifiableListIterator<E> * Guaranteed to throw an exception and leave the underlying data unmodified. * * @throws UnsupportedOperationException always - * @deprecated Unsupported operation. */ - @Deprecated @Override public final void set(E e) { + @Override public final void set(E e) { throw new UnsupportedOperationException(); } } |