cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-4281) uribuilder from null?
Date Fri, 04 May 2012 09:40:48 GMT


Sergey Beryozkin commented on CXF-4281:

> UriBuilder.fromUri("http://foo:1234").scheme(null).build().getRawSchemeSpecificPart()
!= null

I don't even know what that is supposed to produce, but UriBuilder does allow it.  
I can imagine using UriBuilder.scheme() in combination with UriBuilder.schemeSpecificPart,
when building a uri from scratch. 

What do you think


should produce ? I'd consider throwing IllegalArgumentException in cases where the scheme
and schemeSpecificParts have already been initialized from the existing URI
> uribuilder from null?
> ---------------------
>                 Key: CXF-4281
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
> in tomee/openejb we need to patch the uri builder to be able to satisfied some cases
(UriBuilder.fromPath(null) for instance)
> here is the patched builder working for us:
> any way to get it merged with cxf?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message