You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2019/10/29 19:40:25 UTC

[maven-wagon] branch WAGON-571 created (now cd2acb1)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch WAGON-571
in repository https://gitbox.apache.org/repos/asf/maven-wagon.git.


      at cd2acb1  [WAGON-571] Rename RequestEntityImplementation to WagonHttpEntity

This branch includes the following new commits:

     new cd2acb1  [WAGON-571] Rename RequestEntityImplementation to WagonHttpEntity

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-wagon] 01/01: [WAGON-571] Rename RequestEntityImplementation to WagonHttpEntity

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch WAGON-571
in repository https://gitbox.apache.org/repos/asf/maven-wagon.git

commit cd2acb158a531bf555c752da650551671171b0a5
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Tue Oct 29 20:40:14 2019 +0100

    [WAGON-571] Rename RequestEntityImplementation to WagonHttpEntity
---
 .../org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java b/wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java
index 09ff0ef..7fcbc7f 100755
--- a/wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java
+++ b/wagon-providers/wagon-http-shared/src/main/java/org/apache/maven/wagon/shared/http/AbstractHttpClientWagon.java
@@ -117,7 +117,7 @@ import static org.apache.maven.wagon.shared.http.HttpMessageUtils.formatTransfer
 public abstract class AbstractHttpClientWagon
     extends StreamWagon
 {
-    private final class RequestEntityImplementation
+    private final class WagonHttpEntity
         extends AbstractHttpEntity
     {
         private final Resource resource;
@@ -132,7 +132,7 @@ public abstract class AbstractHttpClientWagon
 
         private boolean repeatable;
 
-        private RequestEntityImplementation( final InputStream stream, final Resource resource, final Wagon wagon,
+        private WagonHttpEntity( final InputStream stream, final Resource resource, final Wagon wagon,
                                              final File source )
             throws TransferFailedException
         {
@@ -648,7 +648,7 @@ public abstract class AbstractHttpClientWagon
     private void put( final InputStream stream, Resource resource, File source )
         throws TransferFailedException, AuthorizationException, ResourceDoesNotExistException
     {
-        put( resource, source, new RequestEntityImplementation( stream, resource, this, source ) );
+        put( resource, source, new WagonHttpEntity( stream, resource, this, source ) );
     }
 
     private void put( Resource resource, File source, HttpEntity httpEntity )