[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17027565#comment-17027565
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-2048:
-----------------------------------------------

[~samz007] I am not sure I understand this issue. There have been no changes to 
HttpHost constructors between 4.4.10 and 4.4.11

[https://github.com/apache/httpcomponents-core/commits/4.4.x/httpcore/src/main/java/org/apache/http/HttpHost.java]

Oleg  

> 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
>            Priority: Major
>
> 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