hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCLIENT-780) ProxyHost/HttpHost: Checks for null when javadoc document null ok
Date Sun, 01 Jun 2008 16:42:45 GMT
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message