You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2019/11/08 09:29:00 UTC

[jira] [Commented] (HTTPCLIENT-2026) URIBuilder opaque different than java.net.URI

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

Michael Osipov commented on HTTPCLIENT-2026:
--------------------------------------------

Looking into the code, it seems to me that the build operation returns an empty string whereas the test tests for {{null}},

> URIBuilder opaque different than java.net.URI
> ---------------------------------------------
>
>                 Key: HTTPCLIENT-2026
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2026
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.5.10
>            Reporter: cda
>            Priority: Major
>
> The following fails:
> assert {color:#000080}new {color}URIBuilder( {color:#008000}"http://host.com" {color}).isOpaque() == {color:#000080}new {color}URIBuilder( {color:#008000}"http://host.com" {color}).build().isOpaque()



--
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