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:
Oleg Kalnichevski 2009-06-05 19:11:44 +00:00
parent 4f04500b22
commit a056c12a1f
1 changed files with 6 additions and 4 deletions

View File

@ -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
*/