From d06ecc08e71110699b81795c1433f6d5ae4183d4 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Mon, 1 Dec 2008 11:39:21 +0000 Subject: [PATCH] Add missing @Override annotations git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722041 13f79535-47bb-0310-9956-ffa450edef68 --- .../http/examples/client/ClientGZipContentCompression.java | 2 ++ .../http/examples/client/ClientMultiThreadedExecution.java | 1 + 2 files changed, 3 insertions(+) diff --git a/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java b/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java index 3868a90af..c713c05d9 100644 --- a/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java +++ b/module-client/src/examples/org/apache/http/examples/client/ClientGZipContentCompression.java @@ -124,6 +124,7 @@ public class ClientGZipContentCompression { super(entity); } + @Override public InputStream getContent() throws IOException, IllegalStateException { @@ -133,6 +134,7 @@ public class ClientGZipContentCompression { return new GZIPInputStream(wrappedin); } + @Override public long getContentLength() { // length of ungzipped content is not known return -1; diff --git a/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java b/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java index bb40e86c3..516f09385 100644 --- a/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java +++ b/module-client/src/examples/org/apache/http/examples/client/ClientMultiThreadedExecution.java @@ -118,6 +118,7 @@ public class ClientMultiThreadedExecution { /** * Executes the GetMethod and prints some status information. */ + @Override public void run() { System.out.println(id + " - about to get something from " + httpget.getURI());