hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r722041 - in /httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client: ClientGZipContentCompression.java ClientMultiThreadedExecution.java
Date Mon, 01 Dec 2008 11:39:24 GMT
Author: sebb
Date: Mon Dec  1 03:39:21 2008
New Revision: 722041

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

Modified:
    httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java
    httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java

Modified: httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java?rev=722041&r1=722040&r2=722041&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java
Mon Dec  1 03:39:21 2008
@@ -124,6 +124,7 @@
             super(entity);
         }
     
+        @Override
         public InputStream getContent()
             throws IOException, IllegalStateException {
 
@@ -133,6 +134,7 @@
             return new GZIPInputStream(wrappedin);
         }
 
+        @Override
         public long getContentLength() {
             // length of ungzipped content is not known
             return -1;

Modified: httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java?rev=722041&r1=722040&r2=722041&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java
Mon Dec  1 03:39:21 2008
@@ -118,6 +118,7 @@
         /**
          * Executes the GetMethod and prints some status information.
          */
+        @Override
         public void run() {
             
             System.out.println(id + " - about to get something from " + httpget.getURI());



Mime
View raw message