You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by stain <gi...@git.apache.org> on 2013/03/25 12:35:44 UTC

cxf pull request: Enable reuse of LinkBuilder

GitHub user stain opened a pull request:

    https://github.com/apache/cxf/pull/6

    Enable reuse of LinkBuilder

    Currently the linkbuilder will do the 'wrong' thing if it is reused, because it does not copy the map of parameters on .build).
    
    This patch copies the parameters on build() and buildRelative() - and tests those.
    
    Note that test copyOnRelativeBuild() fails (and is therefore ignored) because of a bug in
    org.apache.cxf.jaxrs.utils.HttpUtils.relativize(URI, URI)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/stain/cxf jaxrs-linkbuilder-reset

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/6.patch

----
commit a1638a3f2311c9c5bb63e2b46277fc15ce49ae3b
Author: Stian Soiland-Reyes <st...@soiland-reyes.com>
Date:   2013-03-25T09:50:31Z

    Enable reuse of LinkBuilder
    
    .. by copying the parameters on build()
    
    Note that test copyOnRelativeBuild() fails because of a bug in
    org.apache.cxf.jaxrs.utils.HttpUtils.relativize(URI, URI)

commit 927fcf762dd5eb8c1c1e114df4c7e191542fa12d
Author: Stian Soiland-Reyes <st...@soiland-reyes.com>
Date:   2013-03-25T11:34:28Z

    Ignore test due to CXF-4919

----