ProxyHost/HttpHost: Checks for null when javadoc document null ok
-----------------------------------------------------------------

                 Key: HTTPCLIENT-780
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-780
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 3.1 Final
         Environment: N/A
            Reporter: David J. M. Karlsen
            Priority: Critical


The constructor javadocs for ProxyHost and HttpHost all state that null is an 
allowed value - but there's an check in the HttpHost constructor for this which 
throws IllegalArgumentException.

(Actually allowing null as documented would also allow for a spring wiring 
remaining the same when using a proxy or not - steering the values from a 
propertyfile.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to