You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2018/08/05 17:46:14 UTC

httpcomponents-core git commit: Add toString().

Repository: httpcomponents-core
Updated Branches:
  refs/heads/master ec2ee3d20 -> 9ec9c8a0f


Add toString().

Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/9ec9c8a0
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/9ec9c8a0
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/9ec9c8a0

Branch: refs/heads/master
Commit: 9ec9c8a0f2a943dab678d7e0355d941a7658f497
Parents: ec2ee3d
Author: Gary Gregory <gg...@apache.org>
Authored: Sun Aug 5 11:46:11 2018 -0600
Committer: Gary Gregory <gg...@apache.org>
Committed: Sun Aug 5 11:46:11 2018 -0600

----------------------------------------------------------------------
 .../org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java   | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/9ec9c8a0/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java
----------------------------------------------------------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java b/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java
index e2d5b48..135fad0 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/http/io/entity/HttpEntityWrapper.java
@@ -117,4 +117,9 @@ public class HttpEntityWrapper implements HttpEntity {
         wrappedEntity.close();
     }
 
+    @Override
+    public String toString() {
+        return super.toString() + "[" + wrappedEntity + "]";
+    }
+
 }