Corrected in HttpClient 2.0 branch and HttpClient trunk. Thanks, Julius

Oleg

On Wed, 2005-03-02 at 18:37 -0800, Julius Davies wrote:
> Hi,
> 
> I found this JavaDoc in MultiThreadedConnectionManager confusing because
> of the term "system":
> 
> From:
> http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java?rev=155418&view=markup
> 
> /**
>  * Sets the maximum number of connections allowed in the system.
>  *
>  * @param maxTotalConnections the maximum number of connections allowed
>  * 
>  * @deprecated Use [EMAIL PROTECTED] 
> HttpConnectionManagerParams#setMaxTotalConnections(int)},
>  * [EMAIL PROTECTED] HttpConnectionManager#getParams()}.
>  */
> public void setMaxTotalConnections(int maxTotalConnections) {
>   this.params.getMaxTotalConnections();
> }
> 
> 
> I would prefer "Sets the maximum number of connections allowed for this
> MultiThreadedConnectionManager instance" if that is actually accurate!
> 
> "System" makes we worry that I'm setting a total for _all_
> MultiThreadedConnectionManagers I might have running.
> 
> 
> yours,
> 
> Julius
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to