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:
parent
fd412e7bf1
commit
8ab600bc2a
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue