hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1767393 - /httpcomponents/httpclient/trunk/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java
Date Mon, 31 Oct 2016 23:29:01 GMT
Author: ggregory
Date: Mon Oct 31 23:29:01 2016
New Revision: 1767393

URL: http://svn.apache.org/viewvc?rev=1767393&view=rev
Log:
Add missing @Override annotations.

Modified:
    httpcomponents/httpclient/trunk/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java

Modified: httpcomponents/httpclient/trunk/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java?rev=1767393&r1=1767392&r2=1767393&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient5-osgi/src/main/java/org/apache/hc/client5/http/osgi/impl/WeakList.java
Mon Oct 31 23:29:01 2016
@@ -93,10 +93,12 @@ class WeakList<T> extends AbstractList<T
             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<T> extends AbstractList<T
             next = null;
         }
 
+        @Override
         public void remove() {
             throw new UnsupportedOperationException();
         }



Mime
View raw message