Samvid Zare created HTTPCLIENT-2048:
---------------------------------------

             Summary: HttpHost constructor unnecessary Type Casting in 
HttpComponent version-4.4.11
                 Key: HTTPCLIENT-2048
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2048
             Project: HttpComponents HttpClient
          Issue Type: Bug
            Reporter: Samvid Zare


The typecasting for the scheme parameter below is causing the issue when the 
scheme is not defined while initializing the constructor. The code was correct 
in HttpComponen-4.4.10 but wrong in the version 4.11.11.

Code from HttpHost class from HttpComponen-4.4.10 
{code:java}
public HttpHost(String hostname)
{
 this((String)hostname, -1, (String)null); 
}{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to