Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@782102 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f04500b22
commit
a056c12a1f
|
@ -90,9 +90,8 @@ public class ThreadSafeClientConnManager implements ClientConnectionManager {
|
|||
/**
|
||||
* Creates a new thread safe connection manager.
|
||||
*
|
||||
* @param params the parameters for this manager
|
||||
* @param schreg the scheme registry, or
|
||||
* <code>null</code> for the default registry
|
||||
* @param params the parameters for this manager.
|
||||
* @param schreg the scheme registry.
|
||||
*/
|
||||
public ThreadSafeClientConnManager(HttpParams params,
|
||||
SchemeRegistry schreg) {
|
||||
|
@ -100,6 +99,9 @@ public class ThreadSafeClientConnManager implements ClientConnectionManager {
|
|||
if (params == null) {
|
||||
throw new IllegalArgumentException("HTTP parameters may not be null");
|
||||
}
|
||||
if (schreg == null) {
|
||||
throw new IllegalArgumentException("Scheme registry may not be null");
|
||||
}
|
||||
this.schemeRegistry = schreg;
|
||||
this.connOperator = createConnectionOperator(schreg);
|
||||
this.connectionPool = createConnectionPool(params);
|
||||
|
@ -138,7 +140,7 @@ public class ThreadSafeClientConnManager implements ClientConnectionManager {
|
|||
* The default implementation here instantiates
|
||||
* {@link DefaultClientConnectionOperator DefaultClientConnectionOperator}.
|
||||
*
|
||||
* @param schreg the scheme registry to use, or <code>null</code>
|
||||
* @param schreg the scheme registry.
|
||||
*
|
||||
* @return the connection operator to use
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue