You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by hyPiRion <gi...@git.apache.org> on 2016/01/22 01:19:57 UTC

[GitHub] maven-wagon pull request: [WAGON-449] Recreate http-wagon client w...

GitHub user hyPiRion opened a pull request:

    https://github.com/apache/maven-wagon/pull/21

    [WAGON-449] Recreate http-wagon client when connection manager is changed

    Hi there,
    
    This is a fix for the bug report [WAGON-449](https://issues.apache.org/jira/browse/WAGON-449). It changes the CLIENT field to a nonfinal field so that it can be updated, and then recreates it whenever `setPoolingHttpClientConnectionManager` is set. This means that the new client will actually be generated from the newly set connection manager.
    
    As this this includes setting CLIENT to a nonfinal field, its name is changed to httpClient to satisfy naming conventions.
    
    I have tried to make this pull request as close to what seems to be the convention this project uses, but I may have missed things as I am not mainly a Java programmer nor uses Maven extensively. Please feel free to mention anything that I may have missed or would make it easier for you folks to apply this patch.

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

    $ git pull https://github.com/hyPiRion/maven-wagon WAGON-449

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

    https://github.com/apache/maven-wagon/pull/21.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21
    
----
commit 4f42503a9aa6d6c03bfdf2562cb86eec194b70dd
Author: Jean Niklas L'orange <je...@hypirion.com>
Date:   2016-01-21T23:48:17Z

    [WAGON-449] Use new connection manager when set
    
    Recreate the http-wagon CLIENT after calling
    setPoolingHttpClientConnectionManager.
    
    This also includes setting CLIENT to a nonfinal field, and as a result
    its name is changed to httpClient to satisfy naming conventions.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[GitHub] maven-wagon pull request: [WAGON-449] Recreate http-wagon client w...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/maven-wagon/pull/21


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org