From c850967c01b2ec5bbaa3eeb3895ad822fedd7eba Mon Sep 17 00:00:00 2001 From: Oleg Kalnichevski Date: Sun, 13 May 2012 14:57:27 +0000 Subject: [PATCH] Javadoc fixes git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1337904 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/http/client/utils/URLEncodedUtils.java | 2 +- .../org/apache/http/impl/client/ContentEncodingHttpClient.java | 3 ++- .../org/apache/http/impl/client/DecompressingHttpClient.java | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java b/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java index da576b71f..775604b81 100644 --- a/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java +++ b/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java @@ -148,7 +148,7 @@ public class URLEncodedUtils { * List to add parameters to. * @param scanner * Input that contains the parameters to parse. - * @param encoding + * @param charset * Encoding to use when decoding the parameters. */ public static void parse ( diff --git a/httpclient/src/main/java/org/apache/http/impl/client/ContentEncodingHttpClient.java b/httpclient/src/main/java/org/apache/http/impl/client/ContentEncodingHttpClient.java index fe2bfc373..2a08d9957 100644 --- a/httpclient/src/main/java/org/apache/http/impl/client/ContentEncodingHttpClient.java +++ b/httpclient/src/main/java/org/apache/http/impl/client/ContentEncodingHttpClient.java @@ -27,6 +27,7 @@ package org.apache.http.impl.client; import org.apache.http.annotation.ThreadSafe; +import org.apache.http.client.HttpClient; import org.apache.http.client.protocol.RequestAcceptEncoding; import org.apache.http.client.protocol.ResponseContentEncoding; import org.apache.http.conn.ClientConnectionManager; @@ -39,7 +40,7 @@ import org.apache.http.protocol.BasicHttpProcessor; * * Deprecation note: due to the way this class modifies a response body * without changing the response headers to reflect the entity changes, it cannot - * be used as the "backend" for a {@link CachingHttpClient} and still + * be used as the "backend" for a caching {@link HttpClient} and still * have uncompressed responses be cached. Users are encouraged to use the * {@link DecompressingHttpClient} instead of this class, which can be wired in * either before or after caching, depending on whether you want to cache diff --git a/httpclient/src/main/java/org/apache/http/impl/client/DecompressingHttpClient.java b/httpclient/src/main/java/org/apache/http/impl/client/DecompressingHttpClient.java index 1b0da209c..29252f75b 100644 --- a/httpclient/src/main/java/org/apache/http/impl/client/DecompressingHttpClient.java +++ b/httpclient/src/main/java/org/apache/http/impl/client/DecompressingHttpClient.java @@ -53,7 +53,7 @@ import org.apache.http.util.EntityUtils; * support for the gzip and deflate * compression schemes; it then checks the Content-Encoding * header on the response to uncompress any compressed response bodies. - * The {@link InputStream} of the entity will contain the uncompressed + * The {@link java.io.InputStream} of the entity will contain the uncompressed * content.

* *

N.B. Any upstream clients of this class need to be aware that