Hi Oleg,

> --- 
> jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/client/DefaultClientRequestDirector.java
>  (original)
> +++ 
> jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/impl/client/DefaultClientRequestDirector.java
>  Sun May 13 07:46:12 2007
> +        if (port < 0) {
> +            SchemeRegistry schemeREgistry = connManager.getSchemeRegistry();
> +            Scheme scheme = schemeREgistry.getScheme(target.getSchemeName());
> +            port = scheme.getDefaultPort();
> +        }

Just the capitalization of the variable. Is it necessary
to have the variable at all, if there is no null check?

cheers,
  Roland


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

Reply via email to