Add missing @Override annotations.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767393 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2016-10-31 23:29:01 +00:00
parent fd412e7bf1
commit 8ab600bc2a
1 changed files with 3 additions and 0 deletions

View File

@ -93,10 +93,12 @@ class WeakList<T> extends AbstractList<T> {
fetchNext(); fetchNext();
} }
@Override
public boolean hasNext() { public boolean hasNext() {
return next != null; return next != null;
} }
@Override
public T next() { public T next() {
if (next != null) { if (next != null) {
final T result = next.get(); final T result = next.get();
@ -119,6 +121,7 @@ class WeakList<T> extends AbstractList<T> {
next = null; next = null;
} }
@Override
public void remove() { public void remove() {
throw new UnsupportedOperationException(); throw new UnsupportedOperationException();
} }