You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Jira)" <ji...@apache.org> on 2020/02/03 18:22:01 UTC

[jira] [Resolved] (HTTPCORE-624) HttpHost constructor unnecessary Type Casting in HttpComponent version-4.4.11

     [ https://issues.apache.org/jira/browse/HTTPCORE-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-624.
----------------------------------------
    Resolution: Invalid

It is unclear what the issue is about. 

Oleg

> HttpHost constructor unnecessary Type Casting in HttpComponent version-4.4.11
> -----------------------------------------------------------------------------
>
>                 Key: HTTPCORE-624
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-624
>             Project: HttpComponents HttpCore
>          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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org