From 8ab600bc2aec730bffccf4ed6c66befca411d4d5 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Mon, 31 Oct 2016 23:29:01 +0000 Subject: [PATCH] Add missing @Override annotations. git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767393 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/hc/client5/http/osgi/impl/WeakList.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java b/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java index f97e641a6..77b3dc75a 100644 --- a/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java +++ b/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java @@ -93,10 +93,12 @@ class WeakList extends AbstractList { fetchNext(); } + @Override public boolean hasNext() { return next != null; } + @Override public T next() { if (next != null) { final T result = next.get(); @@ -119,6 +121,7 @@ class WeakList extends AbstractList { next = null; } + @Override public void remove() { throw new UnsupportedOperationException(); }