diff --git a/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java b/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java index 2eaa66a68..b0986cd6d 100644 --- a/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java +++ b/httpclient/src/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java @@ -44,7 +44,7 @@ import org.apache.http.util.EntityUtils; /** * An example of HttpClient can be customized to authenticate * preemptively using BASIC scheme. - * + * * Generally, preemptive authentication can be considered less * secure than a response to an authentication challenge * and therefore discouraged. diff --git a/httpclient/src/main/java-deprecated/org/apache/http/impl/conn/tsccm/AbstractConnPool.java b/httpclient/src/main/java-deprecated/org/apache/http/impl/conn/tsccm/AbstractConnPool.java index bcc1b3895..1306d4813 100644 --- a/httpclient/src/main/java-deprecated/org/apache/http/impl/conn/tsccm/AbstractConnPool.java +++ b/httpclient/src/main/java-deprecated/org/apache/http/impl/conn/tsccm/AbstractConnPool.java @@ -102,6 +102,7 @@ public abstract class AbstractConnPool { * Obtains a pool entry with a connection within the given timeout. * * @param route the route for which to get the connection + * @param state the state * @param timeout the timeout, 0 or negative for no timeout * @param tunit the unit for the {@code timeout}, * may be {@code null} only if there is no timeout @@ -126,6 +127,9 @@ public abstract class AbstractConnPool { /** * Returns a new {@link PoolEntryRequest}, from which a {@link BasicPoolEntry} * can be obtained, or the request can be aborted. + * @param route the route + * @param state the state + * @return the entry request */ public abstract PoolEntryRequest requestPoolEntry(HttpRoute route, Object state);