diff --git a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/RequestProtocolCompliance.java b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/RequestProtocolCompliance.java index 4a9f7c6ca..d16a9a748 100644 --- a/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/RequestProtocolCompliance.java +++ b/httpclient-cache/src/main/java/org/apache/http/impl/client/cache/RequestProtocolCompliance.java @@ -88,10 +88,9 @@ class RequestProtocolCompliance { /** * If the {@link HttpRequest} is non-compliant but 'fixable' we go ahead and - * fix the request here. Returning the updated one. + * fix the request here. * * @param request the request to check for compliance - * @return the updated request * @throws ClientProtocolException when we have trouble making the request compliant */ public void makeRequestCompliant(final HttpRequestWrapper request) diff --git a/httpclient/src/main/java/org/apache/http/impl/client/ProxyClient.java b/httpclient/src/main/java/org/apache/http/impl/client/ProxyClient.java index 126acd47e..beaaae693 100644 --- a/httpclient/src/main/java/org/apache/http/impl/client/ProxyClient.java +++ b/httpclient/src/main/java/org/apache/http/impl/client/ProxyClient.java @@ -119,7 +119,7 @@ public class ProxyClient { } /** - * @deprecated (4.3) use {@link ProxyClient#ProxyClient(RequestConfig)} + * @deprecated (4.3) use {@link ProxyClient#ProxyClient(HttpConnectionFactory, ConnectionConfig, RequestConfig)} * @param params */ @Deprecated diff --git a/httpclient/src/test/java/org/apache/http/localserver/LocalTestServer.java b/httpclient/src/test/java/org/apache/http/localserver/LocalTestServer.java index 0305c5b4f..c7bd9f8a8 100644 --- a/httpclient/src/test/java/org/apache/http/localserver/LocalTestServer.java +++ b/httpclient/src/test/java/org/apache/http/localserver/LocalTestServer.java @@ -112,7 +112,7 @@ public class LocalTestServer { * @param responseFactory the response factory to be used by the * server, or null to use * {@link #newHttpResponseFactory() default} factory. - * @param expectationVerifier. the expectation verifier. May be + * @param expectationVerifier the expectation verifier. May be * null. * @param sslcontext optional SSL context if the server is to leverage * SSL/TLS transport security